Reference documentation and code samples for the Google Shopping Css V1 Client class ProductDimension.
The dimension of the product.
Generated from protobuf message google.shopping.css.v1.ProductDimension
Namespace
Google \ Shopping \ Css \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ value
float
Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.
↳ unit
string
Required. The dimension units. Acceptable values are: * " in
" * " cm
"
getValue
Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.
float
setValue
Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.
var
float
$this
getUnit
Required. The dimension units.
Acceptable values are:
- "
in
" - "
cm
"
string
setUnit
Required. The dimension units.
Acceptable values are:
- "
in
" - "
cm
"
var
string
$this