Class: Increase::Models::RealTimeDecision::CardAuthorization::Decline
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::RealTimeDecision::CardAuthorization::Decline
- Defined in:
- lib/increase/models/real_time_decision.rb
Overview
Defined Under Namespace
Modules: Reason
Instance Attribute Summary collapse
-
#reason ⇒ Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decline::Reason
The reason the authorization was declined.
Instance Method Summary collapse
-
#initialize(reason: ) ⇒ Object
constructor
Present if and only if ‘decision` is `decline`.
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(reason: ) ⇒ Object
Present if and only if ‘decision` is `decline`. Contains information related to the reason the authorization was declined.
|
|
# File 'lib/increase/models/real_time_decision.rb', line 913
|
Instance Attribute Details
#reason ⇒ Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decline::Reason
The reason the authorization was declined.
911 |
# File 'lib/increase/models/real_time_decision.rb', line 911 required :reason, enum: -> { Increase::RealTimeDecision::CardAuthorization::Decline::Reason } |