Sha256: 8ce56d5b4f48f95a15fc77e87bd71c53e89776015c65583186842bbb85cc76da
Contents?: true
Size: 1.19 KB
Versions: 4
Compression:
Stored size: 1.19 KB
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class BillPayment module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Ledgers::Contract schema do required(:external_id).maybe(:string) optional(:APAccount).hash(Types::Reference) required(:TotalAmt).filled(:integer) optional(:CheckPayment).maybe(Types::Reference) optional(:CreditCardPayment).maybe(Types::Reference) required(:Currency).filled(:hash, Types::Reference) required(:Department).hash(Types::Reference) optional(:ExchangeRate).maybe(:float) required(:ledger_id).filled(:string) required(:Line).array(Types::Reference) optional(:PrivateNote).filled(:string) required(:PayType).filled(:string) optional(:DocNumber).maybe(:string) optional(:TxnDate).filled(:date?) required(:Vendor).hash(Types::Reference) end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems