Sha256: 25bfd362722d7ae73d5394e23afb6bc63b771790c9664d9487ea4758cceb3a70
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class Payment module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Ledgers::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) required(:amount).filled(:integer) required(:currency).filled(:hash, Types::Reference) required(:customer).hash(Types::Reference) optional(:deposit_account).hash(Types::Reference) optional(:exchange_rate).maybe(:float) required(:ledger_id).filled(:string) required(:line_items).array(Types::Reference) optional(:memo).filled(:string) optional(:reference_number).maybe(:string) optional(:transaction_date).filled(: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/update.rb |