Class: Telnyx::Models::MessageCancelScheduledResponse::CostBreakdown

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

Overview

See Also:

Defined Under Namespace

Classes: CarrierFee, Rate

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(amount: nil, currency: nil) ⇒ Object

Parameters:

  • amount (String) (defaults to: nil)

    The carrier fee amount.

  • currency (String) (defaults to: nil)

    The ISO 4217 currency identifier.



# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 346

Instance Attribute Details

#carrier_feeTelnyx::Models::MessageCancelScheduledResponse::CostBreakdown::CarrierFee?



339
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 339

optional :carrier_fee, -> { Telnyx::Models::MessageCancelScheduledResponse::CostBreakdown::CarrierFee }

#rateTelnyx::Models::MessageCancelScheduledResponse::CostBreakdown::Rate?



344
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 344

optional :rate, -> { Telnyx::Models::MessageCancelScheduledResponse::CostBreakdown::Rate }