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

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

The ShippingDimension of the product.

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

Namespace

Google \ Shopping \ Merchant \ Products \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value float

The dimension of the product used to calculate the shipping cost of the item.

↳ unit string

The unit of value.

getValue

The dimension of the product used to calculate the shipping cost of the item.

Returns
Type Description
float

setValue

The dimension of the product used to calculate the shipping cost of the item.

Parameter
Name Description
var float
Returns
Type Description
$this

getUnit

The unit of value.

Returns
Type Description
string

setUnit

The unit of value.

Parameter
Name Description
var string
Returns
Type Description
$this