Class: Increase::Models::WireTransfer::Creditor

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

Overview

See Also:

  • Increase::Models::WireTransfer#creditor

Defined Under Namespace

Classes: Address

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(address:, name:) ⇒ Object

The person or business that is receiving the funds from the transfer.

Parameters:



# File 'lib/increase/models/wire_transfer.rb', line 397

Instance Attribute Details

#addressIncrease::Models::WireTransfer::Creditor::Address?

The person or business's address.

Parameters:

  • value (Increase::WireTransfer::Creditor::Address, nil)

Returns:



389
# File 'lib/increase/models/wire_transfer.rb', line 389

required :address, -> { Increase::WireTransfer::Creditor::Address }, nil?: true

#nameString?

The person or business's name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


395
# File 'lib/increase/models/wire_transfer.rb', line 395

required :name, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


255
# File 'sig/increase/models/wire_transfer.rbs', line 255

def to_hash: -> {