public sealed class Price : IMessage<Price>, IEquatable<Price>, IDeepCloneable<Price>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class Price.
Represents the price of the Offer.
Namespace
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 |