Class: ModernTreasury::Models::InternalAccountCreateParams::PartyAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InternalAccountCreateParams::PartyAddress
- Defined in:
- lib/modern_treasury/models/internal_account_create_params.rb
Instance Attribute Summary collapse
-
#country ⇒ String
Country code conforms to [ISO 3166-1 alpha-2].
- #line1 ⇒ String
- #line2 ⇒ String?
-
#locality ⇒ String
Locality or City.
-
#postal_code ⇒ String
The postal code of the address.
-
#region ⇒ String
Region or State.
Instance Method Summary collapse
-
#initialize(country: , line1: , locality: , postal_code: , region: , line2: nil) ⇒ Object
constructor
The address associated with the owner or null.
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(country: , line1: , locality: , postal_code: , region: , line2: nil) ⇒ Object
The address associated with the owner or null.
|
|
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 305
|
Instance Attribute Details
#country ⇒ String
Country code conforms to [ISO 3166-1 alpha-2]
275 |
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 275 required :country, String |
#line1 ⇒ String
280 |
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 280 required :line1, String |
#line2 ⇒ String?
303 |
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 303 optional :line2, String |
#locality ⇒ String
Locality or City.
286 |
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 286 required :locality, String |
#postal_code ⇒ String
The postal code of the address.
292 |
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 292 required :postal_code, String |
#region ⇒ String
Region or State.
298 |
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 298 required :region, String |