Class: Telnyx::Models::BillingAddress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::BillingAddress
- Defined in:
- lib/telnyx/models/billing_address.rb
Instance Attribute Summary collapse
-
#administrative_area ⇒ String
State or province.
-
#city ⇒ String
City name.
-
#country ⇒ String
Country name (e.g., United States).
-
#extended_address ⇒ String?
Additional address line (suite, apt, etc.).
-
#postal_code ⇒ String
ZIP or postal code.
-
#street_address ⇒ String
Street address.
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(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/billing_address.rb', line 42
|
Instance Attribute Details
#administrative_area ⇒ String
State or province
10 |
# File 'lib/telnyx/models/billing_address.rb', line 10 required :administrative_area, String |
#city ⇒ String
City name
16 |
# File 'lib/telnyx/models/billing_address.rb', line 16 required :city, String |
#country ⇒ String
Country name (e.g., United States)
22 |
# File 'lib/telnyx/models/billing_address.rb', line 22 required :country, String |
#extended_address ⇒ String?
Additional address line (suite, apt, etc.)
40 |
# File 'lib/telnyx/models/billing_address.rb', line 40 optional :extended_address, String, nil?: true |
#postal_code ⇒ String
ZIP or postal code
28 |
# File 'lib/telnyx/models/billing_address.rb', line 28 required :postal_code, String |
#street_address ⇒ String
Street address
34 |
# File 'lib/telnyx/models/billing_address.rb', line 34 required :street_address, String |