Class: Increase::Models::PendingTransaction::Source::BlockchainOnrampTransferInstruction

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#blockchain_onramp_transfer_instruction

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

#initializeObject



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

def initialize: (

Instance Attribute Details

#amountInteger

The transfer amount in USD cents.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :amount, Integer

#destination_blockchain_addressString

The blockchain address the funds are being sent to.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :destination_blockchain_address, String

#transfer_idString

The identifier of the Blockchain On-Ramp Transfer that led to this Pending Transaction.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :transfer_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {