Sha256: fad03f544fc291dbba44b30454178fd0d64d5aa1d27c18afb70e6be96d09d806

Contents?: true

Size: 819 Bytes

Versions: 15

Compression:

Stored size: 819 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class Check
      module Operations
        class Find < NetSuite::Operation::Find
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).maybe(:string)
              required(:ledger_id).filled(:string)
              required(:memo).maybe(:string)
              required(:trandate).maybe(:string)
              required(:account).maybe(:hash, Types::Reference)
              required(:department).maybe(:hash, Types::Reference)
              required(:entity).maybe(:hash, Types::Reference)
              required(:currency).maybe(:hash, Types::Reference)
              required(:line_items).array(Types::Reference)
            end
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.7.1 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/check/operations/find.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/check/operations/find.rb