Class: Increase::Models::DeclinedTransaction
- Defined in:
- lib/increase/models/declined_transaction.rb
Defined Under Namespace
Classes: Source
Instance Attribute Summary collapse
-
#account_id ⇒ String
The identifier for the Account the Declined Transaction belongs to.
-
#amount ⇒ Integer
The Declined Transaction amount in the minor unit of its currency.
-
#created_at ⇒ String
The ISO 8601 date on which the Transaction occurred.
-
#currency ⇒ Symbol
The ISO 4217 code for the Declined Transaction's currency.
-
#description ⇒ String
This is the description the vendor provides.
-
#id ⇒ String
The Declined Transaction identifier.
-
#route_id ⇒ String
The identifier for the route this Declined Transaction came through.
-
#route_type ⇒ Symbol
The type of the route this Declined Transaction came through.
-
#source ⇒ Increase::Models::DeclinedTransaction::Source
This is an object giving more details on the network-level event that caused the Declined Transaction.
-
#type ⇒ Symbol
A constant representing the object's type.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#account_id ⇒ String
The identifier for the Account the Declined Transaction belongs to.
14 |
# File 'lib/increase/models/declined_transaction.rb', line 14 required :account_id, String |
#amount ⇒ Integer
The Declined Transaction amount in the minor unit of its currency. For dollars, for example, this is cents.
19 |
# File 'lib/increase/models/declined_transaction.rb', line 19 required :amount, Integer |
#created_at ⇒ String
The ISO 8601 date on which the Transaction occurred.
24 |
# File 'lib/increase/models/declined_transaction.rb', line 24 required :created_at, String |
#currency ⇒ Symbol
The ISO 4217 code for the Declined Transaction's currency. This will match the currency on the Declined Transaction's Account.
29 |
# File 'lib/increase/models/declined_transaction.rb', line 29 required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD) |
#description ⇒ String
This is the description the vendor provides.
34 |
# File 'lib/increase/models/declined_transaction.rb', line 34 required :description, String |
#id ⇒ String
The Declined Transaction identifier.
9 |
# File 'lib/increase/models/declined_transaction.rb', line 9 required :id, String |
#route_id ⇒ String
The identifier for the route this Declined Transaction came through. Routes are things like cards and ACH details.
39 |
# File 'lib/increase/models/declined_transaction.rb', line 39 required :route_id, String |
#route_type ⇒ Symbol
The type of the route this Declined Transaction came through.
44 |
# File 'lib/increase/models/declined_transaction.rb', line 44 required :route_type, Increase::Enum.new(:account_number, :card, :lockbox) |
#source ⇒ Increase::Models::DeclinedTransaction::Source
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.
49 |
# File 'lib/increase/models/declined_transaction.rb', line 49 required :source, -> { Increase::Models::DeclinedTransaction::Source } |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be declined_transaction
.
54 |
# File 'lib/increase/models/declined_transaction.rb', line 54 required :type, Increase::Enum.new(:declined_transaction) |