Sha256: 97fab9b655b0312b5929bf0ae46f3660062697a758ab701f8f1cc992d387bab6
Contents?: true
Size: 1008 Bytes
Versions: 3
Compression:
Stored size: 1008 Bytes
Contents
module LedgerSync module Ledgers module QuickBooksOnline class Expense module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Ledgers::Contract schema do required(:external_id).maybe(:string) required(:account).hash(Types::Reference) optional(:currency).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?) optional(:entity).hash(Types::Reference) end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems