Cloud Channel v1 API - Class PricePhase (2.6.0)

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.

Inheritance

object > PricePhase

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

PricePhase()

public PricePhase()

PricePhase(PricePhase)

public PricePhase(PricePhase other)
Parameter
NameDescription
otherPricePhase

Properties

FirstPeriod

public int FirstPeriod { get; set; }

Defines first period for the phase.

Property Value
TypeDescription
int

LastPeriod

public int LastPeriod { get; set; }

Defines first period for the phase.

Property Value
TypeDescription
int

PeriodType

public PeriodType PeriodType { get; set; }

Defines the phase period type.

Property Value
TypeDescription
PeriodType

Price

public Price Price { get; set; }

Price of the phase. Present if there are no price tiers.

Property Value
TypeDescription
Price

PriceTiers

public RepeatedField<PriceTier> PriceTiers { get; }

Price by the resource tiers.

Property Value
TypeDescription
RepeatedFieldPriceTier