Class: Increase::Models::EntityUpdateParams::NaturalPerson::Address

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

Overview

See Also:

  • Increase::Models::EntityUpdateParams::NaturalPerson#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



387
# File 'sig/increase/models/entity_update_params.rbs', line 387

def initialize: (

Instance Attribute Details

#cityString

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

Parameters:

  • value (String)

Returns:

  • (String)


403
# File 'lib/increase/models/entity_update_params.rb', line 403

required :city, String

#countryString

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

Parameters:

  • value (String)

Returns:

  • (String)


409
# File 'lib/increase/models/entity_update_params.rb', line 409

required :country, String

#line1String

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

Parameters:

  • value (String)

Returns:

  • (String)


415
# File 'lib/increase/models/entity_update_params.rb', line 415

required :line1, String

#line2String?

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

Parameters:

  • (String)

Returns:

  • (String, nil)


421
# File 'lib/increase/models/entity_update_params.rb', line 421

optional :line2, String

#stateString?

The two-letter United States Postal Service (USPS) abbreviation for the US state, province, or region of the address. Required in certain countries.

Parameters:

  • (String)

Returns:

  • (String, nil)


428
# File 'lib/increase/models/entity_update_params.rb', line 428

optional :state, String

#zipString?

The ZIP or postal code of the address. Required in certain countries.

Parameters:

  • (String)

Returns:

  • (String, nil)


434
# File 'lib/increase/models/entity_update_params.rb', line 434

optional :zip, String

Instance Method Details

#to_hash{

Returns:

  • ({)


396
# File 'sig/increase/models/entity_update_params.rbs', line 396

def to_hash: -> {