Google Cloud Retail V2 Client - Class PriceRange (1.0.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class PriceRange.

The price range of all variant Product having the same Product.primary_product_id .

Generated from protobuf message google.cloud.retail.v2.PriceInfo.PriceRange

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ original_price

getPrice

The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id .

Generated from protobuf field .google.cloud.retail.v2.Interval price = 1;

Returns
Type
Description

hasPrice

clearPrice

setPrice

The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id .

Generated from protobuf field .google.cloud.retail.v2.Interval price = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getOriginalPrice

The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id .

Generated from protobuf field .google.cloud.retail.v2.Interval original_price = 2;

Returns
Type
Description

hasOriginalPrice

clearOriginalPrice

setOriginalPrice

The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id .

Generated from protobuf field .google.cloud.retail.v2.Interval original_price = 2;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: