public sealed class PricePhase : IMessage<PricePhase>, IEquatable<PricePhase>, IDeepCloneable<PricePhase>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class PricePhase.
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.
Implements
IMessage<PricePhase>, IEquatable<PricePhase>, IDeepCloneable<PricePhase>, IBufferMessage, IMessageNamespace
Google.Cloud.Channel.V1Assembly
Google.Cloud.Channel.V1.dll
Constructors
PricePhase()
public PricePhase()
PricePhase(PricePhase)
public PricePhase(PricePhase other)
Parameter | |
---|---|
Name | Description |
other | PricePhase |
Properties
FirstPeriod
public int FirstPeriod { get; set; }
Defines first period for the phase.
Property Value | |
---|---|
Type | Description |
Int32 |
LastPeriod
public int LastPeriod { get; set; }
Defines first period for the phase.
Property Value | |
---|---|
Type | Description |
Int32 |
PeriodType
public PeriodType PeriodType { get; set; }
Defines the phase period type.
Property Value | |
---|---|
Type | Description |
PeriodType |
Price
public Price Price { get; set; }
Price of the phase. Present if there are no price tiers.
Property Value | |
---|---|
Type | Description |
Price |
PriceTiers
public RepeatedField<PriceTier> PriceTiers { get; }
Price by the resource tiers.
Property Value | |
---|---|
Type | Description |
RepeatedField<PriceTier> |