Sha256: 7b3dbb838407a460cc0a8cfe8dcd23ec1266bd872ed63872576cc0e1ebcad269

Contents?: true

Size: 845 Bytes

Versions: 5

Compression:

Stored size: 845 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Vendor
        module Operations
          class Find < NetSuite::Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              params do
                optional(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:company_name).maybe(:string)
                optional(:display_name).maybe(:string)
                optional(:first_name).maybe(:string)
                optional(:last_name).maybe(:string)
                optional(:email).maybe(:string)
                optional(:phone_number).maybe(:string)
                optional(:subsidiary).maybe(:hash, Types::Reference)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb