Class: Increase::Models::LockboxAddress::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::LockboxAddress::Address
- Defined in:
- lib/increase/models/lockbox_address.rb,
sig/increase/models/lockbox_address.rbs
Overview
Instance Attribute Summary collapse
-
#city ⇒ String
The city of the address.
-
#line1 ⇒ String
The first line of the address.
-
#line2 ⇒ String
The second line of the address.
-
#postal_code ⇒ String
The postal code of the address.
-
#state ⇒ String
The two-letter United States Postal Service (USPS) abbreviation for the state of the address.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
69 |
# File 'sig/increase/models/lockbox_address.rbs', line 69
def initialize: (
|
Instance Attribute Details
#city ⇒ String
The city of the address.
85 |
# File 'lib/increase/models/lockbox_address.rb', line 85 required :city, String |
#line1 ⇒ String
The first line of the address.
91 |
# File 'lib/increase/models/lockbox_address.rb', line 91 required :line1, String |
#line2 ⇒ String
The second line of the address.
97 |
# File 'lib/increase/models/lockbox_address.rb', line 97 required :line2, String |
#postal_code ⇒ String
The postal code of the address.
103 |
# File 'lib/increase/models/lockbox_address.rb', line 103 required :postal_code, String |
#state ⇒ String
The two-letter United States Postal Service (USPS) abbreviation for the state of the address.
110 |
# File 'lib/increase/models/lockbox_address.rb', line 110 required :state, String |
Instance Method Details
#to_hash ⇒ {
77 |
# File 'sig/increase/models/lockbox_address.rbs', line 77
def to_hash: -> {
|