Sha256: e37f0a97208a667f6fc38e1ca3ded849722de7bb9d9b7304843bac3a6269a4ec
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class Payment module Operations class Find < Operation::Find class Contract < LedgerSync::Ledgers::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) optional(:amount).maybe(:integer) required(:currency).maybe(:hash, Types::Reference) optional(:customer).hash(Types::Reference) optional(:deposit_account).hash(Types::Reference) optional(:exchange_rate).maybe(:float) required(:ledger_id).filled(:string) optional(:line_items).array(Types::Reference) optional(:memo).maybe(:string) optional(:reference_number).maybe(:string) optional(:transaction_date).maybe(:date?) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.4.4 | lib/ledger_sync/ledgers/quickbooks_online/payment/operations/find.rb |