public sealed class Price : IMessage<Price>, IEquatable<Price>, IDeepCloneable<Price>, IBufferMessage, IMessageReference 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 |
|
DiscountComponents
public RepeatedField<DiscountComponent> DiscountComponents { get; }Breakdown of the discount into its components. This will be empty if there is no discount present.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldDiscountComponent |
|
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 |
|
PricePeriod
public Period PricePeriod { get; set; }The time period with respect to which base and effective prices are defined. Example: 1 month, 6 months, 1 year, etc.
| Property Value | |
|---|---|
| Type | Description |
Period |
|