Sha256: ec6bdd4921665285071416080f20a305067b5124afce5cf24c746f262febca46

Contents?: true

Size: 960 Bytes

Versions: 11

Compression:

Stored size: 960 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Payment
      module Operations
        class Find < Operation::Find
          class Contract < LedgerSync::Ledgers::Contract
            schema do
              required(:external_id).maybe(:string)
              optional(:ARAccount).hash(Types::Reference)
              optional(:Currency).maybe(:hash, Types::Reference)
              optional(:Customer).hash(Types::Reference)
              optional(:DepositToAccount).hash(Types::Reference)
              optional(:ExchangeRate).maybe(:float)
              required(:ledger_id).filled(:string)
              optional(:Line).array(Types::Reference)
              optional(:PrivateNote).maybe(:string)
              optional(:PaymentRefNum).maybe(:string)
              optional(:TotalAmt).maybe(:integer)
              optional(:TxnDate).maybe(:date?)
            end
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/payment/operations/find.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/payment/operations/find.rb