Sha256: 6947bca3cd832269216e1a1bf1efe74cfeb76f66d48f83b6e9f7cb280d200311

Contents?: true

Size: 1.1 KB

Versions: 13

Compression:

Stored size: 1.1 KB

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class BillPayment
      module Operations
        class Find < Operation::Find
          class Contract < LedgerSync::Ledgers::Contract
            schema do
              required(:external_id).maybe(:string)
              optional(:APAccount).hash(Types::Reference)
              optional(:TotalAmt).maybe(:integer)
              optional(:CheckPayment).maybe(Types::Reference)
              optional(:CreditCardPayment).maybe(Types::Reference)
              optional(:Currency).maybe(:hash, Types::Reference)
              optional(:Department).hash(Types::Reference)
              optional(:ExchangeRate).maybe(:float)
              required(:ledger_id).filled(:string)
              optional(:Line).array(Types::Reference)
              optional(:PrivateNote).maybe(:string)
              optional(:PayType).maybe(:string)
              optional(:DocNumber).maybe(:string)
              optional(:TxnDate).maybe(:date?)
              optional(:Vendor).hash(Types::Reference)
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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