Class: Increase::Models::EntityUpdateParams::Trust::Address

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

Overview

See Also:

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:, line1:, state:, zip:, line2: nil) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::EntityUpdateParams::Trust::Address for more details.

The entity’s physical address. Mail receiving locations like PO Boxes and PMB’s are disallowed.

Parameters:

  • city (String)

    The city of the address.

  • line1 (String)

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

  • state (String)

    The two-letter United States Postal Service (USPS) abbreviation for the state of

  • zip (String)

    The ZIP code of the address.

  • line2 (String) (defaults to: nil)

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



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

Instance Attribute Details

#cityString

The city of the address.

Returns:

  • (String)


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

required :city, String

#line1String

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

Returns:

  • (String)


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

required :line1, String

#line2String?

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

Returns:

  • (String, nil)


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

optional :line2, String

#stateString

The two-letter United States Postal Service (USPS) abbreviation for the state of the address.

Returns:

  • (String)


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

required :state, String

#zipString

The ZIP code of the address.

Returns:

  • (String)


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

required :zip, String