Class: Increase::Models::CardValidation::Decline
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardValidation::Decline
- Defined in:
- lib/increase/models/card_validation.rb
Overview
Defined Under Namespace
Modules: Reason
Instance Attribute Summary collapse
-
#declined_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the validation was declined.
-
#network_transaction_identifier ⇒ String?
A unique identifier for the transaction on the card network.
-
#reason ⇒ Symbol, Increase::Models::CardValidation::Decline::Reason
The reason why the validation was declined.
Instance Method Summary collapse
-
#initialize(declined_at: , network_transaction_identifier: , reason: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Decline 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(declined_at: , network_transaction_identifier: , reason: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardValidation::Decline for more details.
If the validation is rejected by the card network or the destination financial institution, this will contain supplemental details.
|
|
# File 'lib/increase/models/card_validation.rb', line 540
|
Instance Attribute Details
#declined_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the validation was declined.
526 |
# File 'lib/increase/models/card_validation.rb', line 526 required :declined_at, Time |
#network_transaction_identifier ⇒ String?
A unique identifier for the transaction on the card network.
532 |
# File 'lib/increase/models/card_validation.rb', line 532 required :network_transaction_identifier, String, nil?: true |
#reason ⇒ Symbol, Increase::Models::CardValidation::Decline::Reason
The reason why the validation was declined.
538 |
# File 'lib/increase/models/card_validation.rb', line 538 required :reason, enum: -> { Increase::CardValidation::Decline::Reason } |