Sha256: 15211d485ef2d829884fb98340010f3e4261117128161f38bf3e5ef0c562139f

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module JournalEntry
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:currency).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:line_items).array(Types::Reference)
                optional(:memo).maybe(:string)
                optional(:reference_number).filled(:string)
                optional(:transaction_date).filled(:date?)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/find.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/find.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/find.rb