Class: Stigg::Models::V1::PlanUpdateParams::Charges::OveragePricingModel::PricePeriod::CreditRate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::PlanUpdateParams::Charges::OveragePricingModel::PricePeriod::CreditRate
- Defined in:
- lib/stigg/models/v1/plan_update_params.rb,
sig/stigg/models/v1/plan_update_params.rbs
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Float
The credit rate amount.
-
#cost_formula ⇒ String?
Optional cost formula expression.
-
#currency_id ⇒ String
The custom currency ID.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #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 ⇒ Object
639 |
# File 'sig/stigg/models/v1/plan_update_params.rbs', line 639
def initialize: (
|
Instance Attribute Details
#amount ⇒ Float
The credit rate amount
562 |
# File 'lib/stigg/models/v1/plan_update_params.rb', line 562 required :amount, Float |
#cost_formula ⇒ String?
Optional cost formula expression
574 |
# File 'lib/stigg/models/v1/plan_update_params.rb', line 574 optional :cost_formula, String, api_name: :costFormula |
#currency_id ⇒ String
The custom currency ID
568 |
# File 'lib/stigg/models/v1/plan_update_params.rb', line 568 required :currency_id, String, api_name: :currencyId |
Instance Method Details
#to_hash ⇒ {
645 |
# File 'sig/stigg/models/v1/plan_update_params.rbs', line 645
def to_hash: -> {
|