The weight of the shipment.

Weight

interface Weight {
    unitOfMeasure: WeightUnitOfMeasureEnum;
    value: string;
}

Properties

Properties

The unit of measurement.

Weight

value: string

A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
Pattern : ^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$.

Weight