Sha256: 5680b3b7f397bbd987fd9a19421d3342104d35bfa40807f78d10059dddea672f

Contents?: true

Size: 740 Bytes

Versions: 4

Compression:

Stored size: 740 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class JournalEntry
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:Currency).maybe(:hash, Types::Reference)
                optional(:DocNumber).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:Line).array(Types::Reference)
                optional(:PrivateNote).maybe(:string)
                optional(:TxnDate).maybe(:date?)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/find.rb