Sha256: 6acf147c67639bf04007a8fd82aac79fa86b0eed43dbfcd6efae15c7302d4f6b

Contents?: true

Size: 776 Bytes

Versions: 4

Compression:

Stored size: 776 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Transfer
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:from_account).hash(Types::Reference)
                required(:to_account).hash(Types::Reference)
                required(:amount).maybe(:integer)
                required(:currency).maybe(:hash, Types::Reference)
                required(:memo).maybe(:string)
                required(:transaction_date).maybe(:date?)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb