Class: Increase::Models::PendingTransaction::Source::ACHTransferInstruction

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

#initializeACHTransferInstruction

Returns a new instance of ACHTransferInstruction.

Parameters:

  • amount: (Integer)
  • transfer_id: (String)


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

def initialize: (amount: Integer, transfer_id: String) -> void

Instance Attribute Details

#amountInteger

The pending amount in USD cents.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :amount, Integer

#transfer_idString

The identifier of the ACH Transfer that led to this Pending Transaction.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :transfer_id, String

Instance Method Details

#to_hash{ amount: Integer, transfer_id: String }

Returns:

  • ({ amount: Integer, transfer_id: String })


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

def to_hash: -> { amount: Integer, transfer_id: String }