Sha256: ac2953fefd8a4d193ebd3e5c627506d1be03d65dc83782c24c30e808167eb7b2
Contents?: true
Size: 870 Bytes
Versions: 1
Compression:
Stored size: 870 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class Invoice module Operations class Update < Operation::FullUpdate class Contract < LedgerSync::Ledgers::Contract schema do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) required(:currency).filled(:hash, Types::Reference) required(:customer).hash(Types::Reference) optional(:deposit).maybe(:integer) required(:ledger_id).filled(:string) required(:line_items).array(Types::Reference) optional(:memo).filled(:string) optional(:transaction_date).filled(:date?) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.4.4 | lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/update.rb |