Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class ShippingWeight.
The ShippingWeight of the product.
Generated from protobuf message google.shopping.merchant.products.v1.ShippingWeight
Namespace
Google \ Shopping \ Merchant \ Products \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ value
float
The weight of the product used to calculate the shipping cost of the item.
↳ unit
string
The unit of value.
getValue
The weight of the product used to calculate the shipping cost of the item.
float
setValue
The weight of the product used to calculate the shipping cost of the item.
var
float
$this
getUnit
The unit of value.
string
setUnit
The unit of value.
var
string
$this