unit property

String? unit
getter/setter pair

The weight unit.

Acceptable values are: kg and lb

Required. Possible string values are:

  • "WEIGHT_UNIT_UNSPECIFIED" : unit unspecified
  • "POUND" : lb unit.
  • "KILOGRAM" : kg unit.

Implementation

core.String? unit;