Sha256: a6463ed77bbfb7ef33ef8e505c67b18e732f48ab9d630305eb244f4c413171d0

Contents?: true

Size: 814 Bytes

Versions: 2

Compression:

Stored size: 814 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class JournalEntry
      module Operations
        class Find < NetSuite::Operation::Find
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).maybe(:string)
              required(:ledger_id).filled(:string)
              optional(:memo).maybe(:string)
              optional(:trandate).maybe(:date?)
              optional(:tranId).maybe(:string)
              optional(:currency).maybe(:hash, Types::Reference)
              optional(:subsidiary).maybe(:hash, Types::Reference)
              required(:ledger_class).maybe(:hash, Types::Reference)
              optional(:line_items).array(Types::Reference)
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/journal_entry/operations/find.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/journal_entry/operations/find.rb