Class: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent

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

Defined Under Namespace

Modules: EventType, IssuerDecision, TokenizationChannel, TokenizationSource Classes: CustomerTokenizationDecision

Instance Attribute Summary collapse

Class Method 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:, card_token:, created:, customer_tokenization_decision:, event_type:, issuer_decision:, tokenization_channel:, tokenization_token:, wallet_decisioning_info:, device: nil, digital_wallet_token_metadata: nil, rule_results: nil, tokenization_decline_reasons: nil, tokenization_source: nil, tokenization_tfa_reasons: nil) ⇒ Object

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



# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 104


Instance Attribute Details

#account_tokenString

Unique identifier for the user tokenizing a card



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

required :account_token, String

#card_tokenString

Unique identifier for the card being tokenized



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

required :card_token, String

#createdTime

Indicate when the request was received from Mastercard or Visa



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

required :created, Time

#customer_tokenization_decisionLithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?

Contains the metadata for the customer tokenization decision.



28
29
30
31
32
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 28

required :customer_tokenization_decision,
-> {
  Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision
},
nil?: true

#deviceLithic::Models::Device?



69
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 69

optional :device, -> { Lithic::Device }

#digital_wallet_token_metadataLithic::Models::DigitalWalletTokenMetadata?

Contains the metadata for the digital wallet being tokenized.



75
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 75

optional :digital_wallet_token_metadata, -> { Lithic:: }

#event_typeSymbol, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::EventType

The name of this event



38
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 38

required :event_type, enum: -> { Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::EventType }

#issuer_decisionSymbol, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::IssuerDecision

Whether Lithic decisioned on the token, and if so, what the decision was. APPROVED/VERIFICATION_REQUIRED/DENIED.



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

required :issuer_decision,
enum: -> { Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::IssuerDecision }

#rule_resultsArray<Lithic::Models::TokenizationRuleResult>?

Results from rules that were evaluated for this tokenization



81
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 81

optional :rule_results, -> { Lithic::Internal::Type::ArrayOf[Lithic::TokenizationRuleResult] }

#tokenization_channelSymbol, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::TokenizationChannel

The channel through which the tokenization was made.



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

required :tokenization_channel,
enum: -> { Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::TokenizationChannel }

#tokenization_decline_reasonsArray<Symbol, Lithic::Models::TokenizationDeclineReason>?

List of reasons why the tokenization was declined



87
88
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 87

optional :tokenization_decline_reasons,
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::TokenizationDeclineReason] }

#tokenization_sourceSymbol, ...

The source of the tokenization.



94
95
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 94

optional :tokenization_source,
enum: -> { Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::TokenizationSource }

#tokenization_tfa_reasonsArray<Symbol, Lithic::Models::TokenizationTfaReason>?

List of reasons why two-factor authentication was required



101
102
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 101

optional :tokenization_tfa_reasons,
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::TokenizationTfaReason] }

#tokenization_tokenString

Unique identifier for the digital wallet token attempt



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

required :tokenization_token, String

#wallet_decisioning_infoLithic::Models::WalletDecisioningInfo



64
# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 64

required :wallet_decisioning_info, -> { Lithic::WalletDecisioningInfo }

Class Method Details

.valuesArray<Symbol>



# File 'lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb', line 190