Sha256: 4f4f7a503dd776023ec27032fc4083c8e2da59bb0212b197f58329809dc5a37c
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class Payment module Operations class Create < Operation::Create class Contract < LedgerSync::Ledgers::Contract params 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).value(:nil) 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