Class: Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::PricePeriod::CreditRate

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/stigg/models/v1/addon_update_params.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Stigg::Internal::Type::BaseModel

Instance Attribute Details

#amountFloat

The credit rate amount

Returns:

  • (Float)


543
# File 'lib/stigg/models/v1/addon_update_params.rb', line 543

required :amount, Float

#cost_formulaString?

Optional cost formula expression

Returns:

  • (String, nil)


555
# File 'lib/stigg/models/v1/addon_update_params.rb', line 555

optional :cost_formula, String, api_name: :costFormula

#currency_idString

The custom currency ID

Returns:

  • (String)


549
# File 'lib/stigg/models/v1/addon_update_params.rb', line 549

required :currency_id, String, api_name: :currencyId