Sha256: b781d94bf7791690a146c779a4226c27ebf4b15820f280cc2d95eb8aa3986bb1

Contents?: true

Size: 1010 Bytes

Versions: 4

Compression:

Stored size: 1010 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Payment
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:account).hash(Types::Reference)
                optional(:amount).maybe(:integer)
                required(:currency).maybe(:hash, Types::Reference)
                optional(:customer).hash(Types::Reference)
                optional(:deposit_account).hash(Types::Reference)
                optional(:exchange_rate).maybe(:float)
                required(:ledger_id).filled(:string)
                optional(:line_items).array(Types::Reference)
                optional(:memo).maybe(:string)
                optional(:reference_number).maybe(:string)
                optional(: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/payment/operations/find.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/payment/operations/find.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/payment/operations/find.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/payment/operations/find.rb