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)


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

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)


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

required :country, String

#line1String

The first line of the address.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :line1, String

#line2String?

The second line of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

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)


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

required :state, String, nil?: true

#zipString?

The ZIP or postal code of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :zip, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {