public sealed class ProductCatalogItem.Types.ExactPrice : IMessage<ProductCatalogItem.Types.ExactPrice>, IEquatable<ProductCatalogItem.Types.ExactPrice>, IDeepCloneable<ProductCatalogItem.Types.ExactPrice>, IBufferMessage, IMessage
Reference documentation and code samples for the Recommendations AI v1beta1 API class ProductCatalogItem.Types.ExactPrice.
Exact product price.
Implements
IMessageProductCatalogItemTypesExactPrice, IEquatableProductCatalogItemTypesExactPrice, IDeepCloneableProductCatalogItemTypesExactPrice, IBufferMessage, IMessageNamespace
Google.Cloud.RecommendationEngine.V1Beta1Assembly
Google.Cloud.RecommendationEngine.V1Beta1.dll
Constructors
ExactPrice()
public ExactPrice()
ExactPrice(ExactPrice)
public ExactPrice(ProductCatalogItem.Types.ExactPrice other)
Parameter | |
---|---|
Name | Description |
other |
ProductCatalogItemTypesExactPrice |
Properties
DisplayPrice
public float DisplayPrice { get; set; }
Optional. Display price of the product.
Property Value | |
---|---|
Type | Description |
float |
OriginalPrice
public float OriginalPrice { get; set; }
Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
Property Value | |
---|---|
Type | Description |
float |