Class: Lithic::Models::AddressUpdate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AddressUpdate
- Defined in:
- lib/lithic/models/address_update.rb
Instance Attribute Summary collapse
-
#address1 ⇒ String?
Valid deliverable address (no PO boxes).
-
#address2 ⇒ String?
Unit or apartment number (if applicable).
-
#city ⇒ String?
Name of city.
-
#country ⇒ String?
Valid country code.
-
#postal_code ⇒ String?
Valid postal code.
-
#state ⇒ String?
Valid state code.
Instance Method Summary collapse
-
#initialize(address1: nil, address2: nil, city: nil, country: nil, postal_code: nil, state: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AddressUpdate for more details.
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(address1: nil, address2: nil, city: nil, country: nil, postal_code: nil, state: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::AddressUpdate for more details.
|
|
# File 'lib/lithic/models/address_update.rb', line 45
|
Instance Attribute Details
#address1 ⇒ String?
Valid deliverable address (no PO boxes).
10 |
# File 'lib/lithic/models/address_update.rb', line 10 optional :address1, String |
#address2 ⇒ String?
Unit or apartment number (if applicable).
16 |
# File 'lib/lithic/models/address_update.rb', line 16 optional :address2, String |
#city ⇒ String?
Name of city.
22 |
# File 'lib/lithic/models/address_update.rb', line 22 optional :city, String |
#country ⇒ String?
Valid country code. Only USA is currently supported, entered in uppercase ISO 3166-1 alpha-3 three-character format.
29 |
# File 'lib/lithic/models/address_update.rb', line 29 optional :country, String |
#postal_code ⇒ String?
Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit ZIP or nine-digit ZIP+4.
36 |
# File 'lib/lithic/models/address_update.rb', line 36 optional :postal_code, String |
#state ⇒ String?
Valid state code. Only USA state codes are currently supported, entered in uppercase ISO 3166-2 two-character format.
43 |
# File 'lib/lithic/models/address_update.rb', line 43 optional :state, String |