Sha256: 0920feb4ddc2d2ce5f05a450fe33c337ffaa9e15d980396c12327910114bdecb
Contents?: true
Size: 932 Bytes
Versions: 2
Compression:
Stored size: 932 Bytes
Contents
module LedgerSync module Adaptors module QuickBooksOnline module Expense module Operations class Find < Operation::Find class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) optional(:currency).maybe(:string) optional(:exchange_rate).maybe(:float) required(:ledger_id).filled(:string) optional(:line_items).array(Types::Reference) optional(:memo).maybe(:string) optional(:payment_type).maybe(:string) optional(:reference_number).maybe(:string) optional(:transaction_date).filled(:date?) optional(:entity).hash(Types::Reference) end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.1 | lib/ledger_sync/adaptors/quickbooks_online/expense/operations/find.rb |
ledger_sync-1.1.3 | lib/ledger_sync/adaptors/quickbooks_online/expense/operations/find.rb |