Class: Lithic::Models::TokenizationRuleResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::TokenizationRuleResult
- Defined in:
- lib/lithic/models/tokenization_rule_result.rb
Defined Under Namespace
Modules: Result
Instance Attribute Summary collapse
-
#auth_rule_token ⇒ String?
The Auth Rule Token associated with the rule.
-
#explanation ⇒ String?
A human-readable explanation outlining the motivation for the rule’s result.
-
#name ⇒ String?
The name for the rule, if any was configured.
-
#result ⇒ Symbol, Lithic::Models::TokenizationRuleResult::Result
The result associated with this rule.
Instance Method Summary collapse
-
#initialize(auth_rule_token:, explanation:, name:, result:) ⇒ Object
constructor
Some parameter documentations has been truncated, see TokenizationRuleResult for more details.
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(auth_rule_token:, explanation:, name:, result:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::TokenizationRuleResult for more details.
|
|
# File 'lib/lithic/models/tokenization_rule_result.rb', line 33
|
Instance Attribute Details
#auth_rule_token ⇒ String?
The Auth Rule Token associated with the rule. If this is set to null, then the result was not associated with a customer-configured rule. This may happen in cases where a tokenization is declined or requires TFA due to a Lithic-configured security or compliance rule, for example.
13 |
# File 'lib/lithic/models/tokenization_rule_result.rb', line 13 required :auth_rule_token, String, nil?: true |
#explanation ⇒ String?
A human-readable explanation outlining the motivation for the rule’s result
19 |
# File 'lib/lithic/models/tokenization_rule_result.rb', line 19 required :explanation, String, nil?: true |
#name ⇒ String?
The name for the rule, if any was configured
25 |
# File 'lib/lithic/models/tokenization_rule_result.rb', line 25 required :name, String, nil?: true |
#result ⇒ Symbol, Lithic::Models::TokenizationRuleResult::Result
The result associated with this rule
31 |
# File 'lib/lithic/models/tokenization_rule_result.rb', line 31 required :result, enum: -> { Lithic::TokenizationRuleResult::Result } |