Class: Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/pending_transaction.rb,
sig/increase/models/pending_transaction.rbs

Overview

See Also:

  • Increase::Models::PendingTransaction::Source#sepa_instant_transfer_instruction

Defined Under Namespace

Modules: Currency

Instance Attribute Summary collapse

Instance Method Summary collapse

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

A SEPA Instant Transfer Instruction object. This field will be present in the JSON response if and only if category is equal to sepa_instant_transfer_instruction.



# File 'lib/increase/models/pending_transaction.rb', line 2790


Instance Attribute Details

#amountInteger

The transfer amount in EUR cents.



2780
# File 'lib/increase/models/pending_transaction.rb', line 2780

required :amount, Integer

#currencySymbol, Increase::Models::PendingTransaction::Source::SepaInstantTransferInstruction::Currency

The ISO 4217 currency code for the transfer's currency. This is always EUR.



2787
2788
# File 'lib/increase/models/pending_transaction.rb', line 2787

required :currency,
enum: -> { Increase::PendingTransaction::Source::SepaInstantTransferInstruction::Currency }

Instance Method Details

#to_hash{



1815
# File 'sig/increase/models/pending_transaction.rbs', line 1815

def to_hash: -> {