Class: Lithic::Models::Tokenization::Event
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Tokenization::Event
- Defined in:
- lib/lithic/models/tokenization.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#created_at ⇒ Time?
Date and time when the tokenization event first occurred.
-
#result ⇒ Symbol, ...
Enum representing the result of the tokenization event.
-
#rule_results ⇒ Array<Lithic::Models::TokenizationRuleResult>?
Results from rules that were evaluated for this tokenization.
-
#token ⇒ String?
Globally unique identifier for a Tokenization Event.
-
#tokenization_decline_reasons ⇒ Array<Symbol, Lithic::Models::TokenizationDeclineReason>?
List of reasons why the tokenization was declined.
-
#tokenization_tfa_reasons ⇒ Array<Symbol, Lithic::Models::TokenizationTfaReason>?
List of reasons why two-factor authentication was required.
-
#type ⇒ Symbol, ...
Enum representing the type of tokenization event that occurred.
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(token: nil, created_at: nil, result: nil, rule_results: nil, tokenization_decline_reasons: nil, tokenization_tfa_reasons: nil, type: nil) ⇒ Object
|
|
# File 'lib/lithic/models/tokenization.rb', line 264
|
Instance Attribute Details
#created_at ⇒ Time?
Date and time when the tokenization event first occurred. UTC time zone.
230 |
# File 'lib/lithic/models/tokenization.rb', line 230 optional :created_at, Time |
#result ⇒ Symbol, ...
Enum representing the result of the tokenization event
236 |
# File 'lib/lithic/models/tokenization.rb', line 236 optional :result, enum: -> { Lithic::Tokenization::Event::Result } |
#rule_results ⇒ Array<Lithic::Models::TokenizationRuleResult>?
Results from rules that were evaluated for this tokenization
242 |
# File 'lib/lithic/models/tokenization.rb', line 242 optional :rule_results, -> { Lithic::Internal::Type::ArrayOf[Lithic::TokenizationRuleResult] } |
#token ⇒ String?
Globally unique identifier for a Tokenization Event
224 |
# File 'lib/lithic/models/tokenization.rb', line 224 optional :token, String |
#tokenization_decline_reasons ⇒ Array<Symbol, Lithic::Models::TokenizationDeclineReason>?
List of reasons why the tokenization was declined
248 249 |
# File 'lib/lithic/models/tokenization.rb', line 248 optional :tokenization_decline_reasons, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::TokenizationDeclineReason] } |
#tokenization_tfa_reasons ⇒ Array<Symbol, Lithic::Models::TokenizationTfaReason>?
List of reasons why two-factor authentication was required
255 256 |
# File 'lib/lithic/models/tokenization.rb', line 255 optional :tokenization_tfa_reasons, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::TokenizationTfaReason] } |
#type ⇒ Symbol, ...
Enum representing the type of tokenization event that occurred
262 |
# File 'lib/lithic/models/tokenization.rb', line 262 optional :type, enum: -> { Lithic::Tokenization::Event::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/tokenization.rb', line 298
|