Class: Increase::Models::WireDrawdownRequest::CreditorAddress

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

Overview

See Also:

  • Increase::Models::WireDrawdownRequest#creditor_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

#initializeObject



142
# File 'sig/increase/models/wire_drawdown_request.rbs', line 142

def initialize: (

Instance Attribute Details

#cityString

The city, district, town, or village of the address.



225
# File 'lib/increase/models/wire_drawdown_request.rb', line 225

required :city, String

#countryString

The two-letter ISO 3166-1 alpha-2 code for the country of the address.



233
# File 'lib/increase/models/wire_drawdown_request.rb', line 233

required :country, String

#line1String

The first line of the address.



239
# File 'lib/increase/models/wire_drawdown_request.rb', line 239

required :line1, String

#line2String?

The second line of the address.



245
# File 'lib/increase/models/wire_drawdown_request.rb', line 245

required :line2, String, nil?: true

#postal_codeString?

The postal code of the address.



251
# File 'lib/increase/models/wire_drawdown_request.rb', line 251

required :postal_code, String, nil?: true

#stateString?

The address state.



257
# File 'lib/increase/models/wire_drawdown_request.rb', line 257

required :state, String, nil?: true

Instance Method Details

#to_hash{



151
# File 'sig/increase/models/wire_drawdown_request.rbs', line 151

def to_hash: -> {