Sha256: aed2acb72f12a55c8d3b35c817d8a354008a123944998dded56001fa38051ced
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 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(:ARAccount).hash(Types::Reference) required(:Currency).filled(:hash, Types::Reference) required(:Customer).hash(Types::Reference) optional(:DepositToAccount).hash(Types::Reference) optional(:ExchangeRate).maybe(:float) required(:ledger_id).filled(:string) required(:Line).array(Types::Reference) optional(:PrivateNote).filled(:string) optional(:PaymentRefNum).maybe(:string) required(:TotalAmt).filled(:integer) optional(:TxnDate).filled(:date?) end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems