Class: Telnyx::Models::MessageCancelScheduledResponse::CostBreakdown::CarrierFee
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MessageCancelScheduledResponse::CostBreakdown::CarrierFee
- Defined in:
- lib/telnyx/models/message_cancel_scheduled_response.rb,
sig/telnyx/models/message_cancel_scheduled_response.rbs
Overview
Instance Attribute Summary collapse
-
#amount ⇒ String?
The carrier fee amount.
-
#currency ⇒ String?
The ISO 4217 currency identifier.
Instance Method Summary collapse
-
#initialize ⇒ CarrierFee
constructor
A new instance of CarrierFee.
- #to_hash ⇒ { amount: String, currency: String }
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 ⇒ CarrierFee
Returns a new instance of CarrierFee.
358 |
# File 'sig/telnyx/models/message_cancel_scheduled_response.rbs', line 358
def initialize: (?amount: String, ?currency: String) -> void
|
Instance Attribute Details
#amount ⇒ String?
The carrier fee amount.
366 |
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 366 optional :amount, String |
#currency ⇒ String?
The ISO 4217 currency identifier.
372 |
# File 'lib/telnyx/models/message_cancel_scheduled_response.rb', line 372 optional :currency, String |
Instance Method Details
#to_hash ⇒ { amount: String, currency: String }
360 |
# File 'sig/telnyx/models/message_cancel_scheduled_response.rbs', line 360
def to_hash: -> { amount: String, currency: String }
|