Sha256: 52871c3ec035e9e1eb8c68af6145e2820168c2e41795650ae146b74fd1e4c3cc
Contents?: true
Size: 967 Bytes
Versions: 1
Compression:
Stored size: 967 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module Test module Expense module Operations class Find < Operation::Find class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) required(:ledger_id).filled(:string) required(:account).hash(Types::Reference) required(:entity).hash(Types::Reference) required(:currency).maybe(:hash, Types::Reference) required(:memo).maybe(:string) required(:payment_type).maybe(:string) required(:transaction_date).maybe(:date?) required(:exchange_rate).maybe(:float) required(:line_items).array(Types::Reference) required(:reference_number).filled(:string) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.2 | lib/ledger_sync/adaptors/test/expense/operations/find.rb |