Class: Increase::Models::DeclinedTransaction::Source
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::DeclinedTransaction::Source
- Defined in:
- lib/increase/models/declined_transaction.rb
Overview
Defined Under Namespace
Modules: Category Classes: ACHDecline, CardDecline, CheckDecline, CheckDepositRejection, InboundRealTimePaymentsTransferDecline, WireDecline
Instance Attribute Summary collapse
-
#ach_decline ⇒ Increase::Models::DeclinedTransaction::Source::ACHDecline?
An ACH Decline object.
-
#card_decline ⇒ Increase::Models::DeclinedTransaction::Source::CardDecline?
A Card Decline object.
-
#category ⇒ Symbol, Increase::Models::DeclinedTransaction::Source::Category
The type of the resource.
-
#check_decline ⇒ Increase::Models::DeclinedTransaction::Source::CheckDecline?
A Check Decline object.
-
#check_deposit_rejection ⇒ Increase::Models::DeclinedTransaction::Source::CheckDepositRejection?
A Check Deposit Rejection object.
-
#inbound_real_time_payments_transfer_decline ⇒ Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?
An Inbound Real-Time Payments Transfer Decline object.
-
#other ⇒ Object?
If the category of this Transaction source is equal to ‘other`, this field will contain an empty object, otherwise it will contain null.
-
#wire_decline ⇒ Increase::Models::DeclinedTransaction::Source::WireDecline?
A Wire Decline object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ach_decline: , card_decline: , category: , check_decline: , check_deposit_rejection: , inbound_real_time_payments_transfer_decline: , other: , wire_decline: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Source 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, 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(ach_decline: , card_decline: , category: , check_decline: , check_deposit_rejection: , inbound_real_time_payments_transfer_decline: , other: , wire_decline: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::DeclinedTransaction::Source for more details.
This is an object giving more details on the network-level event that caused the Declined Transaction. For example, for a card transaction this lists the merchant’s industry and location. Note that for backwards compatibility reasons, additional undocumented keys may appear in this object. These should be treated as deprecated and will be removed in the future.
|
|
# File 'lib/increase/models/declined_transaction.rb', line 217
|
Instance Attribute Details
#ach_decline ⇒ Increase::Models::DeclinedTransaction::Source::ACHDecline?
An ACH Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `ach_decline`.
161 |
# File 'lib/increase/models/declined_transaction.rb', line 161 required :ach_decline, -> { Increase::DeclinedTransaction::Source::ACHDecline }, nil?: true |
#card_decline ⇒ Increase::Models::DeclinedTransaction::Source::CardDecline?
A Card Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `card_decline`.
168 |
# File 'lib/increase/models/declined_transaction.rb', line 168 required :card_decline, -> { Increase::DeclinedTransaction::Source::CardDecline }, nil?: true |
#category ⇒ Symbol, Increase::Models::DeclinedTransaction::Source::Category
The type of the resource. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
175 |
# File 'lib/increase/models/declined_transaction.rb', line 175 required :category, enum: -> { Increase::DeclinedTransaction::Source::Category } |
#check_decline ⇒ Increase::Models::DeclinedTransaction::Source::CheckDecline?
A Check Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `check_decline`.
182 |
# File 'lib/increase/models/declined_transaction.rb', line 182 required :check_decline, -> { Increase::DeclinedTransaction::Source::CheckDecline }, nil?: true |
#check_deposit_rejection ⇒ Increase::Models::DeclinedTransaction::Source::CheckDepositRejection?
A Check Deposit Rejection object. This field will be present in the JSON response if and only if ‘category` is equal to `check_deposit_rejection`.
189 190 191 |
# File 'lib/increase/models/declined_transaction.rb', line 189 required :check_deposit_rejection, -> { Increase::DeclinedTransaction::Source::CheckDepositRejection }, nil?: true |
#inbound_real_time_payments_transfer_decline ⇒ Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?
An Inbound Real-Time Payments Transfer Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `inbound_real_time_payments_transfer_decline`.
199 200 201 |
# File 'lib/increase/models/declined_transaction.rb', line 199 required :inbound_real_time_payments_transfer_decline, -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline }, nil?: true |
#other ⇒ Object?
If the category of this Transaction source is equal to ‘other`, this field will contain an empty object, otherwise it will contain null.
208 |
# File 'lib/increase/models/declined_transaction.rb', line 208 required :other, Increase::Internal::Type::Unknown, nil?: true |
#wire_decline ⇒ Increase::Models::DeclinedTransaction::Source::WireDecline?
A Wire Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `wire_decline`.
215 |
# File 'lib/increase/models/declined_transaction.rb', line 215 required :wire_decline, -> { Increase::DeclinedTransaction::Source::WireDecline }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/declined_transaction.rb', line 421
|