Sha256: 1c71b0c9b802c3b56a6112c0672dc52937ba3025c97b6090620ba9b463009ac3

Contents?: true

Size: 908 Bytes

Versions: 13

Compression:

Stored size: 908 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Bill
      module Operations
        class Find < QuickBooksOnline::Operation::Find
          class Contract < LedgerSync::Ledgers::Contract
            schema do
              required(:external_id).maybe(:string)
              optional(:APAccount).hash(Types::Reference)
              required(:Currency).maybe(:hash, Types::Reference)
              required(:Department).hash(Types::Reference)
              optional(:DueDate).maybe(:date?)
              optional(:Line).array(Types::Reference)
              required(:ledger_id).filled(:string)
              optional(:PrivateNote).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/operations/find.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/bill/operations/find.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/bill/operations/find.rb