Class: MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse
- Defined in:
- lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb
Overview
Defined Under Namespace
Modules: ChargeType Classes: Price
Instance Attribute Summary collapse
- #charge_id ⇒ String
- #charge_type ⇒ Symbol, MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::ChargeType
- #prices ⇒ Array<MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price>
- #quantity ⇒ Float?
- #start_period ⇒ Float
Class Method Summary collapse
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(charge_id:, charge_type:, prices:, start_period:, quantity: nil) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 36
|
Instance Attribute Details
#charge_id ⇒ String
12 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 12 required :charge_id, String |
#charge_type ⇒ Symbol, MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::ChargeType
17 18 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 17 required :charge_type, enum: -> { MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::ChargeType } |
#prices ⇒ Array<MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price>
23 24 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 23 required :prices, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::Customers::PlanListPriceAdjustmentsResponse::Price] } |
#quantity ⇒ Float?
34 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 34 optional :quantity, Float |
#start_period ⇒ Float
29 |
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 29 required :start_period, Float |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_price_adjustments_response.rb', line 53
|