Class: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent

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

Defined Under Namespace

Classes: ActivationMethod

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(account_token:, activation_method:, card_token:, created:, tokenization_token:, event_type: :"digital_wallet.tokenization_two_factor_authentication_code_sent") ⇒ Object

Parameters:

  • account_token (String)

    Unique identifier for the user tokenizing a card

  • activation_method (Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod)
  • card_token (String)

    Unique identifier for the card being tokenized

  • created (Time)

    Indicate when the request was received from Mastercard or Visa

  • tokenization_token (String)

    Unique identifier for the tokenization

  • event_type (Symbol, :"digital_wallet.tokenization_two_factor_authentication_code_sent") (defaults to: :"digital_wallet.tokenization_two_factor_authentication_code_sent")

    The type of event that occurred.



# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 42


Instance Attribute Details

#account_tokenString

Unique identifier for the user tokenizing a card

Returns:

  • (String)


10
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 10

required :account_token, String

#activation_methodLithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod



15
16
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 15

required :activation_method,
-> { Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod }

#card_tokenString

Unique identifier for the card being tokenized

Returns:

  • (String)


22
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 22

required :card_token, String

#createdTime

Indicate when the request was received from Mastercard or Visa

Returns:

  • (Time)


28
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 28

required :created, Time

#event_typeSymbol, :"digital_wallet.tokenization_two_factor_authentication_code_sent"

The type of event that occurred.

Returns:

  • (Symbol, :"digital_wallet.tokenization_two_factor_authentication_code_sent")


34
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 34

required :event_type, const: :"digital_wallet.tokenization_two_factor_authentication_code_sent"

#tokenization_tokenString

Unique identifier for the tokenization

Returns:

  • (String)


40
# File 'lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb', line 40

required :tokenization_token, String