Google Cloud Recommendation Engine V1beta1 Client - Class PriceRange (0.7.0)

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 \ ProductCatalogItem

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
float

setMin

Required. The minimum product price.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMax

Required. The maximum product price.

Returns
TypeDescription
float

setMax

Required. The maximum product price.

Parameter
NameDescription
var float
Returns
TypeDescription
$this