Class: Google::Cloud::Channel::V1::PricePhase
- Inherits:
-
Object
- Object
- Google::Cloud::Channel::V1::PricePhase
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/channel/v1/offers.rb
Overview
Specifies the price by the duration of months. For example, a 20% discount for the first six months, then a 10% discount starting on the seventh month.
Instance Attribute Summary collapse
-
#first_period ⇒ ::Integer
Defines first period for the phase.
-
#last_period ⇒ ::Integer
Defines first period for the phase.
-
#period_type ⇒ ::Google::Cloud::Channel::V1::PeriodType
Defines the phase period type.
-
#price ⇒ ::Google::Cloud::Channel::V1::Price
Price of the phase.
-
#price_tiers ⇒ ::Array<::Google::Cloud::Channel::V1::PriceTier>
Price by the resource tiers.
Instance Attribute Details
#first_period ⇒ ::Integer
Returns Defines first period for the phase.
217 218 219 220 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 217 class PricePhase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#last_period ⇒ ::Integer
Returns Defines first period for the phase.
217 218 219 220 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 217 class PricePhase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#period_type ⇒ ::Google::Cloud::Channel::V1::PeriodType
Returns Defines the phase period type.
217 218 219 220 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 217 class PricePhase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#price ⇒ ::Google::Cloud::Channel::V1::Price
Returns Price of the phase. Present if there are no price tiers.
217 218 219 220 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 217 class PricePhase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#price_tiers ⇒ ::Array<::Google::Cloud::Channel::V1::PriceTier>
Returns Price by the resource tiers.
217 218 219 220 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 217 class PricePhase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |