Class GoogleCloudRecommendationengineV1beta1ProductCatalogItem
ProductCatalogItem captures item metadata specific to retail products.
Implements
Inherited Members
Namespace: Google.Apis.RecommendationsAI.v1beta1.Data
Assembly: Google.Apis.RecommendationsAI.v1beta1.dll
Syntax
public class GoogleCloudRecommendationengineV1beta1ProductCatalogItem : IDirectResponseSchema
Properties
AvailableQuantity
Optional. The available quantity of the item.
Declaration
[JsonProperty("availableQuantity")]
public virtual long? AvailableQuantity { get; set; }
Property Value
Type | Description |
---|---|
long? |
CanonicalProductUri
Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
Declaration
[JsonProperty("canonicalProductUri")]
public virtual string CanonicalProductUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Costs
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
Declaration
[JsonProperty("costs")]
public virtual IDictionary<string, float?> Costs { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, float?> |
CurrencyCode
Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExactPrice
Optional. The exact product price.
Declaration
[JsonProperty("exactPrice")]
public virtual GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice ExactPrice { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice |
Images
Optional. Product images for the catalog item.
Declaration
[JsonProperty("images")]
public virtual IList<GoogleCloudRecommendationengineV1beta1Image> Images { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRecommendationengineV1beta1Image> |
PriceRange
Optional. The product price range.
Declaration
[JsonProperty("priceRange")]
public virtual GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange PriceRange { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange |
StockState
Optional. Online stock state of the catalog item. Default is IN_STOCK
.
Declaration
[JsonProperty("stockState")]
public virtual string StockState { get; set; }
Property Value
Type | Description |
---|---|
string |