Sha256: e941e84516023a10c8185168acf0b9bd705c93dd78dc926c2ad310f6ad2c50bc
Contents?: true
Size: 871 Bytes
Versions: 4
Compression:
Stored size: 871 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) required(:Currency).filled(:hash, Types::Reference) required(:Customer).hash(Types::Reference) optional(:Deposit).maybe(:integer) optional(:DepositToAccount).hash(Types::Reference) required(:ledger_id).filled(:string) required(:Line).array(Types::Reference) optional(:PrivateNote).filled(:string) optional(:TxnDate).filled(:date?) end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems