The weight represented as the value in string and the unit.
JSON representation |
---|
{
"unit": enum ( |
Fields | |
---|---|
unit |
Required. The weight unit. Acceptable values are: kg and lb |
amountMicros |
Required. The weight represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 kg = 1000000 micros). This field can also be set as infinity by setting to -1. This field only support -1 and positive value. |