Sha256: 49decbd73b091d584297eba5eb1b10eac2ff73c854f331251dce2df7715e823c

Contents?: true

Size: 729 Bytes

Versions: 4

Compression:

Stored size: 729 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)
                required(:currency).maybe(:hash, Types::Reference)
                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

4 entries across 4 versions & 1 rubygems

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