Sha256: 4819fe0b35c8850586c611282a8a3a029f8f3f99f699fae05da82f675b071361
Contents?: true
Size: 1018 Bytes
Versions: 3
Compression:
Stored size: 1018 Bytes
Contents
module LedgerSync module Ledgers 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(:exchange_rate).maybe(:float) optional(:ledger_id).value(:nil) 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