Sha256: 35736c7c12543e46e9a293c7b5029c680a5b410f001c5e5182b8599dee22b37a
Contents?: true
Size: 798 Bytes
Versions: 13
Compression:
Stored size: 798 Bytes
Contents
# frozen_string_literal: true module LedgerSync module QuickBooksOnline class Invoice module Operations class Create < Operation::Create class Contract < LedgerSync::Ledgers::Contract params 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).value(:nil) required(:Line).array(Types::Reference) optional(:PrivateNote).filled(:string) optional(:TxnDate).filled(:date?) end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems