Class: Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress

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

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(city: , country: , line1: , line2: nil, postal_code: nil, state: nil) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::WireDrawdownRequestCreateParams::DebtorAddress for more details.

The debtor’s address.

Parameters:

  • city (String) (defaults to: )

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

  • country (String) (defaults to: )

    The two-letter [ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alp

  • line1 (String) (defaults to: )

    The first line of the address. This is usually the street number and street.

  • line2 (String) (defaults to: nil)

    The second line of the address. This might be the floor or room number.

  • postal_code (String) (defaults to: nil)

    The ZIP code of the address.

  • state (String) (defaults to: nil)

    The address state.



# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 195

Instance Attribute Details

#cityString

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

Returns:

  • (String)


161
# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 161

required :city, String

#countryString

The two-letter [ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country of the address.

Returns:

  • (String)


169
# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 169

required :country, String

#line1String

The first line of the address. This is usually the street number and street.

Returns:

  • (String)


175
# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 175

required :line1, String

#line2String?

The second line of the address. This might be the floor or room number.

Returns:

  • (String, nil)


181
# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 181

optional :line2, String

#postal_codeString?

The ZIP code of the address.

Returns:

  • (String, nil)


187
# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 187

optional :postal_code, String

#stateString?

The address state.

Returns:

  • (String, nil)


193
# File 'lib/increase/models/wire_drawdown_request_create_params.rb', line 193

optional :state, String