Sha256: 0d610923cde51a99470b337c2da0a4db5720b65316b023bc15fb23ad716f6862
Contents?: true
Size: 949 Bytes
Versions: 11
Compression:
Stored size: 949 Bytes
Contents
# frozen_string_literal: true module LedgerSync module QuickBooksOnline class Expense module Operations class Find < Operation::Find class Contract < LedgerSync::Ledgers::Contract schema do required(:external_id).maybe(:string) optional(:Account).hash(Types::Reference) optional(:Currency).maybe(:hash, Types::Reference) optional(:Department).hash(Types::Reference) optional(:ExchangeRate).maybe(:float) required(:ledger_id).filled(:string) optional(:Line).array(Types::Reference) optional(:PrivateNote).maybe(:string) optional(:PaymentType).maybe(: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