Class: Increase::Models::PendingTransaction
- Defined in:
- lib/increase/models/pending_transaction.rb
Defined Under Namespace
Classes: Source
Instance Attribute Summary collapse
-
#account_id ⇒ String
The identifier for the account this Pending Transaction belongs to.
-
#amount ⇒ Integer
The Pending Transaction amount in the minor unit of its currency.
-
#completed_at ⇒ String
The ISO 8601 date on which the Pending Transaction was completed.
-
#created_at ⇒ String
The ISO 8601 date on which the Pending Transaction occurred.
-
#currency ⇒ Symbol
The ISO 4217 code for the Pending Transaction's currency.
-
#description ⇒ String
For a Pending Transaction related to a transfer, this is the description you provide.
-
#id ⇒ String
The Pending Transaction identifier.
-
#route_id ⇒ String
The identifier for the route this Pending Transaction came through.
-
#route_type ⇒ Symbol
The type of the route this Pending Transaction came through.
-
#source ⇒ Increase::Models::PendingTransaction::Source
This is an object giving more details on the network-level event that caused the Pending Transaction.
-
#status ⇒ Symbol
Whether the Pending Transaction has been confirmed and has an associated 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 this Pending Transaction belongs to.
14 |
# File 'lib/increase/models/pending_transaction.rb', line 14 required :account_id, String |
#amount ⇒ Integer
The Pending Transaction amount in the minor unit of its currency. For dollars, for example, this is cents.
19 |
# File 'lib/increase/models/pending_transaction.rb', line 19 required :amount, Integer |
#completed_at ⇒ String
The ISO 8601 date on which the Pending Transaction was completed.
24 |
# File 'lib/increase/models/pending_transaction.rb', line 24 required :completed_at, String |
#created_at ⇒ String
The ISO 8601 date on which the Pending Transaction occurred.
29 |
# File 'lib/increase/models/pending_transaction.rb', line 29 required :created_at, String |
#currency ⇒ Symbol
The ISO 4217 code for the Pending Transaction's currency. This will match the currency on the Pending Transaction's Account.
34 |
# File 'lib/increase/models/pending_transaction.rb', line 34 required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD) |
#description ⇒ String
For a Pending Transaction related to a transfer, this is the description you provide. For a Pending Transaction related to a payment, this is the description the vendor provides.
39 |
# File 'lib/increase/models/pending_transaction.rb', line 39 required :description, String |
#id ⇒ String
The Pending Transaction identifier.
9 |
# File 'lib/increase/models/pending_transaction.rb', line 9 required :id, String |
#route_id ⇒ String
The identifier for the route this Pending Transaction came through. Routes are things like cards and ACH details.
44 |
# File 'lib/increase/models/pending_transaction.rb', line 44 required :route_id, String |
#route_type ⇒ Symbol
The type of the route this Pending Transaction came through.
49 |
# File 'lib/increase/models/pending_transaction.rb', line 49 required :route_type, Increase::Enum.new(:account_number, :card, :lockbox) |
#source ⇒ Increase::Models::PendingTransaction::Source
This is an object giving more details on the network-level event that caused the Pending Transaction. For example, for a card transaction this lists the merchant's industry and location.
54 |
# File 'lib/increase/models/pending_transaction.rb', line 54 required :source, -> { Increase::Models::PendingTransaction::Source } |
#status ⇒ Symbol
Whether the Pending Transaction has been confirmed and has an associated Transaction.
59 |
# File 'lib/increase/models/pending_transaction.rb', line 59 required :status, Increase::Enum.new(:pending, :complete) |
#type ⇒ Symbol
A constant representing the object's type. For this resource it will always be pending_transaction
.
64 |
# File 'lib/increase/models/pending_transaction.rb', line 64 required :type, Increase::Enum.new(:pending_transaction) |