Class: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb

Overview

See Also:

Defined Under Namespace

Modules: Type

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

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



# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb', line 82

Instance Attribute Details

#typeSymbol, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type

The communication method that the user has selected to use to receive the authentication code. Supported Values: Sms = “TEXT_TO_CARDHOLDER_NUMBER”. Email

“EMAIL_TO_CARDHOLDER_ADDRESS”



71
72
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb', line 71

required :type,
enum: -> { Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::Type }

#valueString

The location where the user wants to receive the authentication code. The format depends on the ActivationMethod.Type field. If Type is Email, the Value will be the email address. If the Type is Sms, the Value will be the phone number.



80
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb', line 80

required :value, String