Class Price (1.1.0)

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

Represents the price of the Offer.

Inheritance

Object > Price

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

Price()

public Price()

Price(Price)

public Price(Price other)
Parameter
NameDescription
otherPrice

Properties

BasePrice

public Money BasePrice { get; set; }

Base price.

Property Value
TypeDescription
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
TypeDescription
Double

EffectivePrice

public Money EffectivePrice { get; set; }

Effective Price after applying the discounts.

Property Value
TypeDescription
Money

ExternalPriceUri

public string ExternalPriceUri { get; set; }

Link to external price list, such as link to Google Voice rate card.

Property Value
TypeDescription
String