Class: Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction
- Defined in:
- lib/increase/models/pending_transaction.rb,
sig/increase/models/pending_transaction.rbs
Overview
Defined Under Namespace
Modules: Currency
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The transfer amount in GBP pence.
-
#currency ⇒ Symbol, Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency
The ISO 4217 currency code for the transfer's currency.
Instance Method Summary collapse
-
#initialize(amount:, currency:) ⇒ Object
constructor
An UK Faster Payment System Transfer Instruction object.
- #to_hash ⇒ {
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:) ⇒ Object
An UK Faster Payment System Transfer Instruction object. This field will be
present in the JSON response if and only if category is equal to
uk_faster_payment_system_transfer_instruction.
|
|
# File 'lib/increase/models/pending_transaction.rb', line 2847
|
Instance Attribute Details
#amount ⇒ Integer
The transfer amount in GBP pence.
2837 |
# File 'lib/increase/models/pending_transaction.rb', line 2837 required :amount, Integer |
#currency ⇒ Symbol, Increase::Models::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency
The ISO 4217 currency code for the
transfer's currency. This is always GBP.
2844 2845 |
# File 'lib/increase/models/pending_transaction.rb', line 2844 required :currency, enum: -> { Increase::PendingTransaction::Source::UkFasterPaymentSystemTransferInstruction::Currency } |
Instance Method Details
#to_hash ⇒ {
1858 |
# File 'sig/increase/models/pending_transaction.rbs', line 1858 def to_hash: -> { |