Sha256: dbe296e28b4d6a502115db3b6c46353bc97881c218c8480f554c51a396f482f2
Contents?: true
Size: 1.21 KB
Versions: 4
Compression:
Stored size: 1.21 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(:account).hash(Types::Reference) required(:amount).filled(:integer) optional(:bank_account).maybe(Types::Reference) optional(:credit_card_account).maybe(Types::Reference) required(:currency).filled(:hash, Types::Reference) required(:department).hash(Types::Reference) optional(:exchange_rate).maybe(:float) required(:ledger_id).filled(:string) required(:line_items).array(Types::Reference) optional(:memo).filled(:string) required(:payment_type).filled(:string) optional(:reference_number).maybe(:string) optional(:transaction_date).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