Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class PriceRange.
Product price range when there are a range of prices for different variations of the same product.
Generated from protobuf message google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRange
Namespace
Google \ Cloud \ RecommendationEngine \ V1beta1 \ ProductCatalogItemMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min |
float
Required. The minimum product price. |
↳ max |
float
Required. The maximum product price. |
getMin
Required. The minimum product price.
Returns | |
---|---|
Type | Description |
float |
setMin
Required. The minimum product price.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMax
Required. The maximum product price.
Returns | |
---|---|
Type | Description |
float |
setMax
Required. The maximum product price.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |