Google Cloud Retail V2 Client - Class PriceRange (2.1.3)

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

Namespace

Google \ Cloud \ Retail \ V2 \ PriceInfo

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 .

Returns
Type
Description

hasPrice

clearPrice

setPrice

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

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 .

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 .

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