Google Shopping Merchant Products V1beta Client - Class ShippingWeight (1.4.1)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class ShippingWeight.
The ShippingWeight of the product.
Generated from protobuf messagegoogle.shopping.merchant.products.v1beta.ShippingWeight
Namespace
Google \ Shopping \ Merchant \ Products \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
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.
Returns
Type
Description
float
setValue
The weight of the product used to calculate the shipping cost of the
item.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-30 UTC."],[],[]]