Sha256: d87dfba0dbe62cb78462828f47fef17eae22d2ccf54c6f53a52c0fbbf4ed9994
Contents?: true
Size: 849 Bytes
Versions: 1
Compression:
Stored size: 849 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module QuickBooksOnline module Invoice module Operations class Create < Operation::Create class Contract < LedgerSync::Adaptors::Contract params do required(:external_id).maybe(:string) optional(:account).hash(Types::Reference) required(:currency).filled(:string) required(:customer).hash(Types::Reference) optional(:deposit).maybe(:integer) required(:ledger_id).value(:nil) 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.3.1 | lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/create.rb |