Google Shopping Merchant Products V1beta Client - Class UnitPricingMeasure (0.2.0)

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

The UnitPricingMeasure of the product.

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

Namespace

Google \ Shopping \ Merchant \ Products \ V1beta

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