Sha256: 2146866f50c14dcb1346b62ad61e1daf7ea2117524460c8ff7007254111d4404
Contents?: true
Size: 961 Bytes
Versions: 11
Compression:
Stored size: 961 Bytes
Contents
# frozen_string_literal: true module LedgerSync module QuickBooksOnline class Expense module Operations class Create < QuickBooksOnline::Operation::Create class Contract < LedgerSync::Ledgers::Contract params do required(:external_id).maybe(:string) required(:Account).hash(Types::Reference) optional(:Currency).hash(Types::Reference) required(:Department).hash(Types::Reference) optional(:ExchangeRate).maybe(:float) optional(:ledger_id).value(:nil) required(:Line).array(Types::Reference) optional(:PrivateNote).filled(:string) required(:PaymentType).filled(:string) optional(:DocNumber).maybe(:string) optional(:TxnDate).filled(:date?) optional(:Entity).hash(Types::Reference) end end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems