Class: MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price
- Defined in:
- lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb
Defined Under Namespace
Modules: AdjustmentType
Instance Attribute Summary collapse
-
#adjustment_type ⇒ Symbol, MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price::AdjustmentType
Determines how the value will be applied.
-
#tier ⇒ Float?
Used in pricing tiers.
- #value ⇒ Float?
Instance Method Summary collapse
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(adjustment_type: , tier: nil, value: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 76
|
Instance Attribute Details
#adjustment_type ⇒ Symbol, MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price::AdjustmentType
Determines how the value will be applied.
62 63 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 62 required :adjustment_type, enum: -> { MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price::AdjustmentType } |
#tier ⇒ Float?
Used in pricing tiers. Indicates at what metric value the price applies.
69 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 69 optional :tier, Float |
#value ⇒ Float?
74 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 74 optional :value, Float |