Class: Orb::Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig::ScalingFactor
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig::ScalingFactor
- Defined in:
- lib/orb/models/price.rb,
sig/orb/models/price.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(grouping_key:, minimum_unit_amount:, pricing_key:, scaling_factors:, scaling_key:, unit_amounts:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Orb::Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig for more details.
- #to_hash ⇒ { scaling_factor: String, scaling_value: 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(grouping_key:, minimum_unit_amount:, pricing_key:, scaling_factors:, scaling_key:, unit_amounts:) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::Price::GroupedWithMeteredMinimum::GroupedWithMeteredMinimumConfig for more details.
Configuration for grouped_with_metered_minimum pricing
8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 |
# File 'lib/orb/models/price.rb', line 8437 class ScalingFactor < Orb::Internal::Type::BaseModel # @!attribute scaling_factor # # @return [String] required :scaling_factor, String # @!attribute scaling_value # # @return [String] required :scaling_value, String # @!method initialize(scaling_factor:, scaling_value:) # Configuration for a scaling factor # # @param scaling_factor [String] # @param scaling_value [String] end |
Instance Attribute Details
#scaling_factor ⇒ String
8441 |
# File 'lib/orb/models/price.rb', line 8441 required :scaling_factor, String |
#scaling_value ⇒ String
8446 |
# File 'lib/orb/models/price.rb', line 8446 required :scaling_value, String |
Instance Method Details
#to_hash ⇒ { scaling_factor: String, scaling_value: String }
6305 |
# File 'sig/orb/models/price.rbs', line 6305
def to_hash: -> { scaling_factor: String, scaling_value: String }
|