Sha256: 708e288cb439ccdbe90ba3c36a18fd535e871b157a71829dbbd98c89ad883a6a

Contents?: true

Size: 960 Bytes

Versions: 3

Compression:

Stored size: 960 Bytes

Contents

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Bill
        module Operations
          class Find < QuickBooksOnline::Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:account).hash(Types::Reference)
                required(:currency).maybe(:hash, Types::Reference)
                required(:department).hash(Types::Reference)
                optional(:due_date).maybe(:date?)
                optional(:line_items).array(Types::Reference)
                required(:ledger_id).filled(:string)
                optional(:memo).maybe(:string)
                optional(:reference_number).maybe(:string)
                optional(:transaction_date).maybe(:date?)
                optional(:vendor).hash(Types::Reference)
              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/bill/operations/find.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/bill/operations/find.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/bill/operations/find.rb