Class: Google::Cloud::Channel::V1::PricePhase

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#first_period::Integer

Returns Defines first period for the phase.

Returns:

  • (::Integer)

    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.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:



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.

Returns:



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