Cloud Channel v1 API - Class PricePhase (2.11.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
Name Description
other PricePhase

Properties

FirstPeriod

public int FirstPeriod { get; set; }

Defines first period for the phase.

Property Value
Type Description
int

LastPeriod

public int LastPeriod { get; set; }

Defines first period for the phase.

Property Value
Type Description
int

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
RepeatedFieldPriceTier