Google Shopping Common Protos Client - Class WeightUnit (0.4.0)

Reference documentation and code samples for the Google Shopping Common Protos Client class WeightUnit.

The weight unit.

Protobuf type google.shopping.type.Weight.WeightUnit

Namespace

Google \ Shopping \ Type \ Weight

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

WEIGHT_UNIT_UNSPECIFIED

Value: 0

unit unspecified

Generated from protobuf enum WEIGHT_UNIT_UNSPECIFIED = 0;

POUND

Value: 1

lb unit.

Generated from protobuf enum POUND = 1;

KILOGRAM

Value: 2

kg unit.

Generated from protobuf enum KILOGRAM = 2;