Class: Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice
- Defined in:
- lib/orb/models/beta/external_plan_id_create_plan_version_params.rb
Defined Under Namespace
Modules: Price
Instance Attribute Summary collapse
-
#allocation_price ⇒ Orb::Models::NewAllocationPrice?
The allocation price to add to the plan.
-
#plan_phase_order ⇒ Integer?
The phase to add this price to.
-
#price ⇒ Orb::Models::NewPlanUnitPrice, ...
The price to add to the plan.
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(allocation_price: nil, plan_phase_order: nil, price: nil) ⇒ Object
|
|
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 165
|
Instance Attribute Details
#allocation_price ⇒ Orb::Models::NewAllocationPrice?
The allocation price to add to the plan.
149 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 149 optional :allocation_price, -> { Orb::NewAllocationPrice }, nil?: true |
#plan_phase_order ⇒ Integer?
The phase to add this price to.
155 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 155 optional :plan_phase_order, Integer, nil?: true |
#price ⇒ Orb::Models::NewPlanUnitPrice, ...
The price to add to the plan
161 162 163 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 161 optional :price, union: -> { Orb::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price }, nil?: true |