Sha256: 1ccd03eb3d09ddc5e2f2a1cea0954d81e34372bf6de1dc3cda1399f7d313196e
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
module LedgerSync module Adaptors module QuickBooksOnline module Bill module Operations class Update < QuickBooksOnline::Operation::FullUpdate class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) optional(:currency).hash(Types::Reference) optional(:due_date).maybe(:date?) required(:line_items).array(Types::Reference) required(:ledger_id).filled(:string) optional(:memo).maybe(:string) optional(:reference_number).maybe(:string) optional(:transaction_date).maybe(:date?) required(:vendor).hash(Types::Reference) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.2 | lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb |