Class: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision

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

Overview

Defined Under Namespace

Modules: Outcome

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(outcome:, responder_url:, latency: nil, response_code: nil) ⇒ Object

Contains the metadata for the customer tokenization decision.



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


Instance Attribute Details

#latencyString?

Time in ms it took for the customer’s URL to respond



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

optional :latency, String

#outcomeSymbol, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::Outcome

The outcome of the customer’s decision



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

required :outcome,
enum: -> { Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision::Outcome }

#responder_urlString

The customer’s subscribed URL



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

required :responder_url, String

#response_codeString?

The response code that the customer provided



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

optional :response_code, String