Class: Increase::Models::RealTimeDecisionActionParams::CardAuthorization
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::RealTimeDecisionActionParams::CardAuthorization
- Defined in:
- lib/increase/models/real_time_decision_action_params.rb
Defined Under Namespace
Modules: Decision Classes: Approval, Decline
Instance Attribute Summary collapse
-
#approval ⇒ Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval?
If your application approves the authorization, this contains metadata about your decision to approve.
-
#decision ⇒ Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision
Whether the card authorization should be approved or declined.
-
#decline ⇒ Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline?
If your application declines the authorization, this contains details about the decline.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(decision: , approval: nil, decline: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardAuthorization 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(decision: , approval: nil, decline: nil) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::RealTimeDecisionActionParams::CardAuthorization for more details.
If the Real-Time Decision relates to a card authorization attempt, this object contains your response to the authorization.
|
|
# File 'lib/increase/models/real_time_decision_action_params.rb', line 155
|
Instance Attribute Details
#approval ⇒ Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval?
If your application approves the authorization, this contains metadata about your decision to approve. Your response here is advisory to the acquiring bank. The bank may choose to reverse the authorization if you approve the transaction but indicate the address does not match.
146 |
# File 'lib/increase/models/real_time_decision_action_params.rb', line 146 optional :approval, -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval } |
#decision ⇒ Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision
Whether the card authorization should be approved or declined.
137 |
# File 'lib/increase/models/real_time_decision_action_params.rb', line 137 required :decision, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decision } |
#decline ⇒ Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline?
If your application declines the authorization, this contains details about the decline.
153 |
# File 'lib/increase/models/real_time_decision_action_params.rb', line 153 optional :decline, -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decline } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/real_time_decision_action_params.rb', line 181
|