Class: Increase::Models::Entity::Joint::Individual::Address

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

Overview

See Also:

  • Increase::Models::Entity::Joint::Individual#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



630
# File 'sig/increase/models/entity.rbs', line 630

def initialize: (

Instance Attribute Details

#cityString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


814
# File 'lib/increase/models/entity.rb', line 814

required :city, String, nil?: true

#countryString

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

Parameters:

  • value (String)

Returns:

  • (String)


820
# File 'lib/increase/models/entity.rb', line 820

required :country, String

#line1String

The first line of the address.

Parameters:

  • value (String)

Returns:

  • (String)


826
# File 'lib/increase/models/entity.rb', line 826

required :line1, String

#line2String?

The second line of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


832
# File 'lib/increase/models/entity.rb', line 832

required :line2, String, nil?: true

#stateString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


839
# File 'lib/increase/models/entity.rb', line 839

required :state, String, nil?: true

#zipString?

The ZIP or postal code of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


845
# File 'lib/increase/models/entity.rb', line 845

required :zip, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


639
# File 'sig/increase/models/entity.rbs', line 639

def to_hash: -> {