Class: Zavudev::Models::PhoneNumberPricing
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::PhoneNumberPricing
- Defined in:
- lib/zavudev/models/phone_number_pricing.rb,
sig/zavudev/models/phone_number_pricing.rbs
Instance Attribute Summary collapse
-
#is_free_eligible ⇒ Boolean?
Whether this number qualifies as the plan-included US number on paid plans.
-
#monthly_price ⇒ Float?
Monthly price in USD.
-
#upfront_price ⇒ Float?
One-time purchase price in USD.
Instance Method Summary collapse
-
#initialize(is_free_eligible: nil, monthly_price: nil, upfront_price: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see PhoneNumberPricing for more details.
- #to_hash ⇒ {
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_eligible: nil, monthly_price: nil, upfront_price: nil) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::PhoneNumberPricing for more details.
|
|
# File 'lib/zavudev/models/phone_number_pricing.rb', line 26
|
Instance Attribute Details
#is_free_eligible ⇒ Boolean?
Whether this number qualifies as the plan-included US number on paid plans. The benefit is one per account: it is never offered again once claimed, not even after the number is released.
12 |
# File 'lib/zavudev/models/phone_number_pricing.rb', line 12 optional :is_free_eligible, Zavudev::Internal::Type::Boolean, api_name: :isFreeEligible |
#monthly_price ⇒ Float?
Monthly price in USD.
18 |
# File 'lib/zavudev/models/phone_number_pricing.rb', line 18 optional :monthly_price, Float, api_name: :monthlyPrice |
#upfront_price ⇒ Float?
One-time purchase price in USD.
24 |
# File 'lib/zavudev/models/phone_number_pricing.rb', line 24 optional :upfront_price, Float, api_name: :upfrontPrice |
Instance Method Details
#to_hash ⇒ {
25 |
# File 'sig/zavudev/models/phone_number_pricing.rbs', line 25
def to_hash: -> {
|