Class: Increase::Models::Entity::Trust::Trustee::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::Trust::Trustee::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



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

def initialize: (

Instance Attribute Details

#cityString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

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)


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

required :country, String

#line1String

The first line of the address.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :line1, String

#line2String?

The second line of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

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)


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

required :state, String, nil?: true

#zipString?

The ZIP or postal code of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :zip, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {