Class: Lithic::Models::TokenizationApprovalRequestWebhookEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/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::TokenizationApprovalRequestWebhookEvent for more details.

Parameters:



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

Instance Attribute Details

#account_tokenString

Unique identifier for the user tokenizing a card

Returns:

  • (String)


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

required :account_token, String

#card_tokenString

Unique identifier for the card being tokenized

Returns:

  • (String)


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

required :card_token, String

#createdTime

Indicate when the request was received from Mastercard or Visa

Returns:

  • (Time)


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

required :created, Time

#customer_tokenization_decisionLithic::Models::TokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?

Contains the metadata for the customer tokenization decision.



28
29
30
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 28

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

#deviceLithic::Models::Device?

Returns:



66
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 66

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

#digital_wallet_token_metadataLithic::Models::DigitalWalletTokenMetadata?

Contains the metadata for the digital wallet being tokenized.



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

optional :digital_wallet_token_metadata, -> { Lithic::DigitalWalletTokenMetadata }

#event_typeSymbol, Lithic::Models::TokenizationApprovalRequestWebhookEvent::EventType

The name of this event



36
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 36

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

#issuer_decisionSymbol, Lithic::Models::TokenizationApprovalRequestWebhookEvent::IssuerDecision

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



43
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 43

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

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

Results from rules that were evaluated for this tokenization



78
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 78

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

#tokenization_channelSymbol, Lithic::Models::TokenizationApprovalRequestWebhookEvent::TokenizationChannel

The channel through which the tokenization was made.



49
50
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 49

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

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

List of reasons why the tokenization was declined

Returns:



84
85
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 84

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

#tokenization_sourceSymbol, ...

The source of the tokenization.



91
92
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 91

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

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

List of reasons why two-factor authentication was required

Returns:



98
99
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 98

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

#tokenization_tokenString

Unique identifier for the digital wallet token attempt

Returns:

  • (String)


56
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 56

required :tokenization_token, String

#wallet_decisioning_infoLithic::Models::WalletDecisioningInfo



61
# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 61

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/tokenization_approval_request_webhook_event.rb', line 186