Class PriceTier (1.1.0)

public sealed class PriceTier : IMessage<PriceTier>, IEquatable<PriceTier>, IDeepCloneable<PriceTier>, IBufferMessage, IMessage

Defines price at resource tier level. For example, an offer with following definition :

  • Tier 1: Provide 25% discount for all seats between 1 and 25.
  • Tier 2: Provide 10% discount for all seats between 26 and 100.
  • Tier 3: Provide flat 15% discount for all seats above 100.

Each of these tiers is represented as a PriceTier.

Inheritance

Object > PriceTier

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

PriceTier()

public PriceTier()

PriceTier(PriceTier)

public PriceTier(PriceTier other)
Parameter
NameDescription
otherPriceTier

Properties

FirstResource

public int FirstResource { get; set; }

First resource for which the tier price applies.

Property Value
TypeDescription
Int32

LastResource

public int LastResource { get; set; }

Last resource for which the tier price applies.

Property Value
TypeDescription
Int32

Price

public Price Price { get; set; }

Price of the tier.

Property Value
TypeDescription
Price