Class: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/real_time_decision_action_params.rb

Overview

See Also:

Defined Under Namespace

Modules: Reason

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(reason: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline for more details.

If your application declines the authorization, this contains details about the decline.

Parameters:



# File 'lib/increase/models/real_time_decision_action_params.rb', line 282

Instance Attribute Details

#reasonSymbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason

The reason the card authorization was declined. This translates to a specific decline code that is sent to the card network.



280
# File 'lib/increase/models/real_time_decision_action_params.rb', line 280

required :reason, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason }