Class: Increase::Models::PendingTransaction::Source::AccountTransferInstruction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PendingTransaction::Source::AccountTransferInstruction
- Defined in:
- lib/increase/models/pending_transaction.rb
Overview
Defined Under Namespace
Modules: Currency
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The pending amount in the minor unit of the transaction’s currency.
-
#currency ⇒ Symbol, Increase::Models::PendingTransaction::Source::AccountTransferInstruction::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the destination account currency.
-
#transfer_id ⇒ String
The identifier of the Account Transfer that led to this Pending Transaction.
Instance Method Summary collapse
-
#initialize(amount: , currency: , transfer_id: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see AccountTransferInstruction 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(amount: , currency: , transfer_id: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::PendingTransaction::Source::AccountTransferInstruction for more details.
An Account Transfer Instruction object. This field will be present in the JSON response if and only if ‘category` is equal to `account_transfer_instruction`.
|
|
# File 'lib/increase/models/pending_transaction.rb', line 374
|
Instance Attribute Details
#amount ⇒ Integer
The pending amount in the minor unit of the transaction’s currency. For dollars, for example, this is cents.
358 |
# File 'lib/increase/models/pending_transaction.rb', line 358 required :amount, Integer |
#currency ⇒ Symbol, Increase::Models::PendingTransaction::Source::AccountTransferInstruction::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the destination account currency.
365 366 |
# File 'lib/increase/models/pending_transaction.rb', line 365 required :currency, enum: -> { Increase::PendingTransaction::Source::AccountTransferInstruction::Currency } |
#transfer_id ⇒ String
The identifier of the Account Transfer that led to this Pending Transaction.
372 |
# File 'lib/increase/models/pending_transaction.rb', line 372 required :transfer_id, String |