Class: Zavudev::Models::OwnedPhoneNumberPricing
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::OwnedPhoneNumberPricing
- Defined in:
- lib/zavudev/models/owned_phone_number_pricing.rb
Instance Attribute Summary collapse
-
#is_free_number ⇒ Boolean?
Whether this is a free number.
-
#monthly_cost ⇒ Float?
Monthly cost in cents.
-
#monthly_price ⇒ Float?
Monthly price in USD.
-
#upfront_cost ⇒ Float?
One-time purchase cost in cents.
Instance Method Summary collapse
- #initialize(is_free_number: nil, monthly_cost: nil, monthly_price: nil, upfront_cost: nil) ⇒ Object constructor
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(is_free_number: nil, monthly_cost: nil, monthly_price: nil, upfront_cost: nil) ⇒ Object
|
|
# File 'lib/zavudev/models/owned_phone_number_pricing.rb', line 30
|
Instance Attribute Details
#is_free_number ⇒ Boolean?
Whether this is a free number.
10 |
# File 'lib/zavudev/models/owned_phone_number_pricing.rb', line 10 optional :is_free_number, Zavudev::Internal::Type::Boolean, api_name: :isFreeNumber |
#monthly_cost ⇒ Float?
Monthly cost in cents.
16 |
# File 'lib/zavudev/models/owned_phone_number_pricing.rb', line 16 optional :monthly_cost, Float, api_name: :monthlyCost |
#monthly_price ⇒ Float?
Monthly price in USD.
22 |
# File 'lib/zavudev/models/owned_phone_number_pricing.rb', line 22 optional :monthly_price, Float, api_name: :monthlyPrice |
#upfront_cost ⇒ Float?
One-time purchase cost in cents.
28 |
# File 'lib/zavudev/models/owned_phone_number_pricing.rb', line 28 optional :upfront_cost, Float, api_name: :upfrontCost |