Class: Increase::Models::EntityCreateParams::NaturalPerson::Address

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

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Increase::Internal::Type::BaseModel

Instance Attribute Details

#cityString

The city of the address.

Returns:

  • (String)


1196
# File 'lib/increase/models/entity_create_params.rb', line 1196

required :city, String

#line1String

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

Returns:

  • (String)


1202
# File 'lib/increase/models/entity_create_params.rb', line 1202

required :line1, String

#line2String?

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

Returns:

  • (String, nil)


1221
# File 'lib/increase/models/entity_create_params.rb', line 1221

optional :line2, String

#stateString

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

Returns:

  • (String)


1209
# File 'lib/increase/models/entity_create_params.rb', line 1209

required :state, String

#zipString

The ZIP code of the address.

Returns:

  • (String)


1215
# File 'lib/increase/models/entity_create_params.rb', line 1215

required :zip, String