Sha256: 2cb3d900ceaf8b5ce8386952b6760bcb6621fb0dee0cfc25b41ffa4348d9d90a

Contents?: true

Size: 886 Bytes

Versions: 3

Compression:

Stored size: 886 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Bill
        module Operations
          class Find < QuickBooksOnline::Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:account).hash(Types::Reference)
                optional(:currency).maybe(:string)
                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.3.1 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/find.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/find.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/bill/operations/find.rb