GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs

data class GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs(val availableQuantity: Output<String>? = null, val canonicalProductUri: Output<String>? = null, val costs: Output<Map<String, String>>? = null, val currencyCode: Output<String>? = null, val exactPrice: Output<GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs>? = null, val images: Output<List<GoogleCloudRecommendationengineV1beta1ImageArgs>>? = null, val priceRange: Output<GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs>? = null, val stockState: Output<GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState>? = null) : ConvertibleToJava<GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs>

ProductCatalogItem captures item metadata specific to retail products.

Constructors

fun GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs(availableQuantity: Output<String>? = null, canonicalProductUri: Output<String>? = null, costs: Output<Map<String, String>>? = null, currencyCode: Output<String>? = null, exactPrice: Output<GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs>? = null, images: Output<List<GoogleCloudRecommendationengineV1beta1ImageArgs>>? = null, priceRange: Output<GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs>? = null, stockState: Output<GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs

Properties

Link copied to clipboard
val availableQuantity: Output<String>? = null

Optional. The available quantity of the item.

Link copied to clipboard
val canonicalProductUri: Output<String>? = null

Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..

Link copied to clipboard
val costs: Output<Map<String, String>>? = null

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)

Link copied to clipboard
val currencyCode: Output<String>? = null

Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.

Link copied to clipboard

Optional. The exact product price.

Link copied to clipboard

Optional. Product images for the catalog item.

Link copied to clipboard

Optional. The product price range.

Link copied to clipboard

Optional. Online stock state of the catalog item. Default is IN_STOCK.