Sha256: cea12a5483eb7349020fa2faf3162a60825b1c3956fdfe11ac565430b0185210
Contents?: true
Size: 781 Bytes
Versions: 2
Compression:
Stored size: 781 Bytes
Contents
module LedgerSync module Adaptors module QuickBooksOnline module Deposit module Operations class Create < QuickBooksOnline::Operation::Create class Contract < LedgerSync::Adaptors::Contract params do required(:external_id).maybe(:string) required(:ledger_id).value(:nil) required(:account).hash(Types::Reference) required(:currency).filled(:string) required(:memo).filled(:string) required(:transaction_date).filled(:date?) required(:exchange_rate).maybe(:float) required(:line_items).array(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.1.3 | lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/create.rb |
ledger_sync-1.1.2 | lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/create.rb |