Class: Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb

Defined Under Namespace

Modules: Attribute

Instance Attribute Summary collapse

Instance Method Summary collapse

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(attribute:, operation:, value:) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition for more details.



# File 'lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb', line 205

Instance Attribute Details

#attributeSymbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute

The attribute to target.

The following attributes may be targeted:

  • ‘TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.

  • ‘TOKENIZATION_CHANNEL`: The channel through which the tokenization request was initiated (e.g., DIGITAL_WALLET, ECOMMERCE).

  • ‘TOKENIZATION_SOURCE`: The source of the tokenization request.

  • ‘TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`, `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`, `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`, `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.

  • ‘WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet. Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2

    medium risk).

  • ‘WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet. Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2

    medium risk).

  • ‘WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet provider. Valid values include APPROVE, DECLINE, REQUIRE_ADDITIONAL_AUTHENTICATION.

  • ‘WALLET_RECOMMENDATION_REASONS`: List of reasons provided by the digital wallet provider for the recommended decision. Valid values are `ACCOUNT_CARD_TOO_NEW`, `ACCOUNT_RECENTLY_CHANGED`, `ACCOUNT_TOO_NEW`, `ACCOUNT_TOO_NEW_SINCE_LAUNCH`, `DEVICE_RECENTLY_LOST`, `HAS_SUSPENDED_TOKENS`, `HIGH_RISK`, `INACTIVE_ACCOUNT`, `LOW_ACCOUNT_SCORE`, `LOW_DEVICE_SCORE`, `OUTSIDE_HOME_TERRITORY`, `SUSPICIOUS_ACTIVITY`, `TOO_MANY_DIFFERENT_CARDHOLDERS`, `TOO_MANY_RECENT_ATTEMPTS`, `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.

  • ‘TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.

  • ‘WALLET_TOKEN_STATUS`: The current status of the wallet token.



190
191
# File 'lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb', line 190

required :attribute,
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute }

#operationSymbol, Lithic::Models::AuthRules::ConditionalOperation

The operation to apply to the attribute



197
# File 'lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb', line 197

required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }

#valueString, ...

A regex string, to be used with ‘MATCHES` or `DOES_NOT_MATCH`



203
# File 'lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb', line 203

required :value, union: -> { Lithic::AuthRules::ConditionalValue }