Class: Lithic::Models::TokenizationDecisioningRequestWebhookEvent

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

Defined Under Namespace

Modules: EventType, IssuerDecision, TokenizationChannel, TokenizationSource

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:, event_type:, issuer_decision:, tokenization_channel:, tokenization_token:, wallet_decisioning_info:, device: nil, digital_wallet_token_metadata: nil, tokenization_source: nil) ⇒ Object

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

A webhook for tokenization decisioning sent to the customer’s responder endpoint

Parameters:



# File 'lib/lithic/models/tokenization_decisioning_request_webhook_event.rb', line 73

Instance Attribute Details

#account_tokenString

Unique identifier for the user tokenizing a card

Returns:

  • (String)


10
# File 'lib/lithic/models/tokenization_decisioning_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_decisioning_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_decisioning_request_webhook_event.rb', line 22

required :created, Time

#deviceLithic::Models::Device?

Returns:



58
# File 'lib/lithic/models/tokenization_decisioning_request_webhook_event.rb', line 58

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

#digital_wallet_token_metadataLithic::Models::DigitalWalletTokenMetadata?

Contains the metadata for the digital wallet being tokenized.



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

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

#event_typeSymbol, Lithic::Models::TokenizationDecisioningRequestWebhookEvent::EventType

The name of this event



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

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

#issuer_decisionSymbol, Lithic::Models::TokenizationDecisioningRequestWebhookEvent::IssuerDecision

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



35
# File 'lib/lithic/models/tokenization_decisioning_request_webhook_event.rb', line 35

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

#tokenization_channelSymbol, Lithic::Models::TokenizationDecisioningRequestWebhookEvent::TokenizationChannel

The channel through which the tokenization was made.



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

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

#tokenization_sourceSymbol, ...

The source of the tokenization.



70
71
# File 'lib/lithic/models/tokenization_decisioning_request_webhook_event.rb', line 70

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

#tokenization_tokenString

Unique identifier for the digital wallet token attempt

Returns:

  • (String)


48
# File 'lib/lithic/models/tokenization_decisioning_request_webhook_event.rb', line 48

required :tokenization_token, String

#wallet_decisioning_infoLithic::Models::WalletDecisioningInfo



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

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/lithic/models/tokenization_decisioning_request_webhook_event.rb', line 109