Sha256: d487dc56072d59dcf5690f9ff064acb9bae85c6fc6794ba0b530e5588f2c3cef
Contents?: true
Size: 1022 Bytes
Versions: 4
Compression:
Stored size: 1022 Bytes
Contents
module LedgerSync module Adaptors module QuickBooksOnline module Payment module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) required(:amount).filled(:integer) required(:currency).filled(:hash, Types::Reference) required(:customer).hash(Types::Reference) optional(:deposit_account).hash(Types::Reference) optional(:exchange_rate).maybe(:float) required(:ledger_id).filled(:string) required(:line_items).array(Types::Reference) optional(:memo).filled(:string) optional(:reference_number).maybe(:string) optional(:transaction_date).filled(:date?) end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems