Class: Telnyx::Models::PortingOrderEndUserLocation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/porting_order_end_user_location.rb

Instance Attribute Summary collapse

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: nil, country_code: nil, extended_address: nil, locality: nil, postal_code: nil, street_address: nil) ⇒ Object

Parameters:

  • administrative_area (String, nil) (defaults to: nil)

    State, province, or similar of billing address

  • country_code (String, nil) (defaults to: nil)

    ISO3166-1 alpha-2 country code of billing address

  • extended_address (String, nil) (defaults to: nil)

    Second line of billing address

  • locality (String, nil) (defaults to: nil)

    City or municipality of billing address

  • postal_code (String, nil) (defaults to: nil)

    Postal Code of billing address

  • street_address (String, nil) (defaults to: nil)

    First line of billing address



# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 42

Instance Attribute Details

#administrative_areaString?

State, province, or similar of billing address

Returns:

  • (String, nil)


10
# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 10

optional :administrative_area, String, nil?: true

#country_codeString?

ISO3166-1 alpha-2 country code of billing address

Returns:

  • (String, nil)


16
# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 16

optional :country_code, String, nil?: true

#extended_addressString?

Second line of billing address

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 22

optional :extended_address, String, nil?: true

#localityString?

City or municipality of billing address

Returns:

  • (String, nil)


28
# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 28

optional :locality, String, nil?: true

#postal_codeString?

Postal Code of billing address

Returns:

  • (String, nil)


34
# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 34

optional :postal_code, String, nil?: true

#street_addressString?

First line of billing address

Returns:

  • (String, nil)


40
# File 'lib/telnyx/models/porting_order_end_user_location.rb', line 40

optional :street_address, String, nil?: true