public sealed class PriceTier : IMessage<PriceTier>, IEquatable<PriceTier>, IDeepCloneable<PriceTier>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class PriceTier.
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.
Implements
IMessage<PriceTier>, IEquatable<PriceTier>, IDeepCloneable<PriceTier>, IBufferMessage, IMessageNamespace
Google.Cloud.Channel.V1Assembly
Google.Cloud.Channel.V1.dll
Constructors
PriceTier()
public PriceTier()
PriceTier(PriceTier)
public PriceTier(PriceTier other)
Parameter | |
---|---|
Name | Description |
other | PriceTier |
Properties
FirstResource
public int FirstResource { get; set; }
First resource for which the tier price applies.
Property Value | |
---|---|
Type | Description |
Int32 |
LastResource
public int LastResource { get; set; }
Last resource for which the tier price applies.
Property Value | |
---|---|
Type | Description |
Int32 |
Price
public Price Price { get; set; }
Price of the tier.
Property Value | |
---|---|
Type | Description |
Price |