Class: Telnyx::Models::SimCardOrderPreviewPreviewResponse::Data::SimCardsCost
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::SimCardOrderPreviewPreviewResponse::Data::SimCardsCost
- Defined in:
- lib/telnyx/models/sim_card_order_preview_preview_response.rb,
sig/telnyx/models/sim_card_order_preview_preview_response.rbs
Overview
Instance Attribute Summary collapse
-
#amount ⇒ String?
A string representing the cost amount.
-
#currency ⇒ String?
ISO 4217 currency string.
Instance Method Summary collapse
-
#initialize ⇒ SimCardsCost
constructor
A new instance of SimCardsCost.
- #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 ⇒ SimCardsCost
Returns a new instance of SimCardsCost.
100 |
# File 'sig/telnyx/models/sim_card_order_preview_preview_response.rbs', line 100
def initialize: (?amount: String, ?currency: String) -> void
|
Instance Attribute Details
#amount ⇒ String?
A string representing the cost amount.
83 |
# File 'lib/telnyx/models/sim_card_order_preview_preview_response.rb', line 83 optional :amount, String |
#currency ⇒ String?
ISO 4217 currency string.
89 |
# File 'lib/telnyx/models/sim_card_order_preview_preview_response.rb', line 89 optional :currency, String |
Instance Method Details
#to_hash ⇒ { amount: String, currency: String }
102 |
# File 'sig/telnyx/models/sim_card_order_preview_preview_response.rbs', line 102
def to_hash: -> { amount: String, currency: String }
|