Sha256: 56887de22f3f3a92fa56d2a572ba70a2cb8fe4a3dbb18bbde8aaa6df1591226d
Contents?: true
Size: 951 Bytes
Versions: 13
Compression:
Stored size: 951 Bytes
Contents
# frozen_string_literal: true module LedgerSync 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(:ExchangeRate).maybe(:float) required(:ledger_id).filled(:string) 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
13 entries across 13 versions & 1 rubygems