public sealed class PricePhase : IMessage<PricePhase>, IEquatable<PricePhase>, IDeepCloneable<PricePhase>, IBufferMessage, IMessageSpecifies 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
Google.Protobuf.IMessage<PricePhase>, IEquatable<PricePhase>, Google.Protobuf.IDeepCloneable<PricePhase>, Google.Protobuf.IBufferMessage, Google.Protobuf.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 |
Google.Protobuf.Collections.RepeatedField<PriceTier> |
|