Sha256: c5b4e77b8c508bdacf524f865dd9b994211f7ae84dcb833044c39a4d1e5743e6

Contents?: true

Size: 773 Bytes

Versions: 3

Compression:

Stored size: 773 Bytes

Contents

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Transfer
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Ledgers::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

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb