public sealed class Price : IMessage<Price>, IEquatable<Price>, IDeepCloneable<Price>, IBufferMessage, IMessage
Represents the price of the Offer.
Implements
Google.Protobuf.IMessage<Price>, IEquatable<Price>, Google.Protobuf.IDeepCloneable<Price>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Channel.V1Assembly
Google.Cloud.Channel.V1.dll
Constructors
Price()
public Price()
Price(Price)
public Price(Price other)
Parameter | |
---|---|
Name | Description |
other | Price |
Properties
BasePrice
public Money BasePrice { get; set; }
Base price.
Property Value | |
---|---|
Type | Description |
Money |
Discount
public double Discount { get; set; }
Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2.
Property Value | |
---|---|
Type | Description |
Double |
EffectivePrice
public Money EffectivePrice { get; set; }
Effective Price after applying the discounts.
Property Value | |
---|---|
Type | Description |
Money |
ExternalPriceUri
public string ExternalPriceUri { get; set; }
Link to external price list, such as link to Google Voice rate card.
Property Value | |
---|---|
Type | Description |
String |