Class: Lithic::Models::TokenizationSimulateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/tokenization_simulate_params.rb

Overview

Defined Under Namespace

Modules: TokenizationSource, WalletRecommendedDecision

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(cvv:, expiration_date:, pan:, tokenization_source:, account_score: nil, device_score: nil, entity: nil, wallet_recommended_decision: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::TokenizationSimulateParams for more details.

Parameters:

  • cvv (String)

    The three digit cvv for the card.

  • expiration_date (String)

    The expiration date of the card in ‘MM/YY’ format.

  • pan (String)

    The sixteen digit card number.

  • tokenization_source (Symbol, Lithic::Models::TokenizationSimulateParams::TokenizationSource)

    The source of the tokenization request.

  • account_score (Integer) (defaults to: nil)

    The account score (1-5) that represents how the Digital Wallet’s view on how rep

  • device_score (Integer) (defaults to: nil)

    The device score (1-5) that represents how the Digital Wallet’s view on how repu

  • entity (String) (defaults to: nil)

    Optional field to specify the token requestor name for a merchant token simulati

  • wallet_recommended_decision (Symbol, Lithic::Models::TokenizationSimulateParams::WalletRecommendedDecision) (defaults to: nil)

    The decision that the Digital Wallet’s recommend

  • request_options (Lithic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/lithic/models/tokenization_simulate_params.rb', line 62

Instance Attribute Details

#account_scoreInteger?

The account score (1-5) that represents how the Digital Wallet’s view on how reputable an end user’s account is.

Returns:

  • (Integer, nil)


39
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 39

optional :account_score, Integer

#cvvString

The three digit cvv for the card.

Returns:

  • (String)


14
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 14

required :cvv, String

#device_scoreInteger?

The device score (1-5) that represents how the Digital Wallet’s view on how reputable an end user’s device is.

Returns:

  • (Integer, nil)


46
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 46

optional :device_score, Integer

#entityString?

Optional field to specify the token requestor name for a merchant token simulation. Ignored when tokenization_source is not MERCHANT.

Returns:

  • (String, nil)


53
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 53

optional :entity, String

#expiration_dateString

The expiration date of the card in ‘MM/YY’ format.

Returns:

  • (String)


20
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 20

required :expiration_date, String

#panString

The sixteen digit card number.

Returns:

  • (String)


26
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 26

required :pan, String

#tokenization_sourceSymbol, Lithic::Models::TokenizationSimulateParams::TokenizationSource

The source of the tokenization request.



32
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 32

required :tokenization_source, enum: -> { Lithic::TokenizationSimulateParams::TokenizationSource }

The decision that the Digital Wallet’s recommend



59
60
# File 'lib/lithic/models/tokenization_simulate_params.rb', line 59

optional :wallet_recommended_decision,
enum: -> { Lithic::TokenizationSimulateParams::WalletRecommendedDecision }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/tokenization_simulate_params.rb', line 93