Sha256: 7004cbca66d8f5037b18035bcd44fcab0e42fb931ce6fb0fa4878e3bd1b7e32b
Contents?: true
Size: 750 Bytes
Versions: 1
Compression:
Stored size: 750 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module QuickBooksOnline class JournalEntry module Operations class Create < Operation::Create class Contract < LedgerSync::Ledgers::Contract params do required(:external_id).maybe(:string) optional(:currency).hash(Types::Reference) required(:ledger_id).value(:nil) optional(:line_items).array(Types::Reference) optional(:memo).filled(:string) optional(:reference_number).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/journal_entry/operations/create.rb |