Sha256: 79230c9f42e25470e74968a2e1e2822c0da0d1b856f7af4090a2fde0fea7f24b

Contents?: true

Size: 722 Bytes

Versions: 4

Compression:

Stored size: 722 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module JournalEntry
        module Operations
          class Create < Operation::Create
            class Contract < LedgerSync::Adaptors::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

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/create.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/create.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/create.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/create.rb