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

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

Overview

See Also:

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 387

Instance Attribute Details

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

The person or business’s address.



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

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

#nameString?

The person or business’s name.

Returns:

  • (String, nil)


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

required :name, String, nil?: true