Show / Hide Table of Contents

Class GoogleCloudRecommendationengineV1beta1ProductDetail

Detailed product information associated with a user event.

Inheritance
object
GoogleCloudRecommendationengineV1beta1ProductDetail
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.RecommendationsAI.v1beta1.Data
Assembly: Google.Apis.RecommendationsAI.v1beta1.dll
Syntax
public class GoogleCloudRecommendationengineV1beta1ProductDetail : IDirectResponseSchema

Properties

AvailableQuantity

Optional. Quantity of the products in stock when a user event happens. Optional. If provided, this overrides the available quantity in Catalog for this event. and can only be set if stock_status is set to IN_STOCK. Note that if an item is out of stock, you must set the stock_state field to be OUT_OF_STOCK. Leaving this field unspecified / as zero is not sufficient to mark the item out of stock.

Declaration
[JsonProperty("availableQuantity")]
public virtual int? AvailableQuantity { get; set; }
Property Value
Type Description
int?

CurrencyCode

Optional. Currency code for price/costs. Use three-character ISO-4217 code. Required only if originalPrice or displayPrice is set.

Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type Description
string

DisplayPrice

Optional. Display price of the product (e.g. discounted price). If provided, this will override the display price in Catalog for this product.

Declaration
[JsonProperty("displayPrice")]
public virtual float? DisplayPrice { get; set; }
Property Value
Type Description
float?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Required. Catalog item ID. UTF-8 encoded string with a length limit of 128 characters.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

ItemAttributes

Optional. Extra features associated with a product in the user event.

Declaration
[JsonProperty("itemAttributes")]
public virtual GoogleCloudRecommendationengineV1beta1FeatureMap ItemAttributes { get; set; }
Property Value
Type Description
GoogleCloudRecommendationengineV1beta1FeatureMap

OriginalPrice

Optional. Original price of the product. If provided, this will override the original price in Catalog for this product.

Declaration
[JsonProperty("originalPrice")]
public virtual float? OriginalPrice { get; set; }
Property Value
Type Description
float?

Quantity

Optional. Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for add-to-cart event. Required for add-to-cart, add-to-list, remove-from-cart, checkout-start, purchase-complete, refund event types.

Declaration
[JsonProperty("quantity")]
public virtual int? Quantity { get; set; }
Property Value
Type Description
int?

StockState

Optional. Item stock state. If provided, this overrides the stock state in Catalog for items in this event.

Declaration
[JsonProperty("stockState")]
public virtual string StockState { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX