Google Shopping Merchant Products V1 Client - Class UnitPricingMeasure (0.7.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class UnitPricingMeasure.

The UnitPricingMeasure of the product.

Generated from protobuf message google.shopping.merchant.products.v1.UnitPricingMeasure

Namespace

Google \ Shopping \ Merchant \ Products \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ value
float

The measure of an item.

↳ unit
string

The unit of the measure.

getValue

The measure of an item.

Returns
Type
Description
float

setValue

The measure of an item.

Parameter
Name
Description
var
float
Returns
Type
Description
$this

getUnit

The unit of the measure.

Returns
Type
Description
string

setUnit

The unit of the measure.

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