/** * Selling Partner API for Direct Fulfillment Shipping * Use the Selling Partner API for Direct Fulfillment Shipping to access a direct fulfillment vendor's shipping data. * * The version of the OpenAPI document: 2021-12-28 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The Weight model module. * @module vendordfshipping_v2021_12_28/model/Weight * @version 2021-12-28 */ export declare class Weight { unitOfMeasure: string; value: string; /** * Constructs a new Weight. * The weight. * @alias module:vendordfshipping_v2021_12_28/model/Weight * @class * @param unitOfMeasure {String} The unit of measurement. * @param 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+)?$`. */ constructor(unitOfMeasure: string, value: string); /** * Constructs a Weight from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {Weight} obj Optional instance to populate. * @return {Weight} The populated Weight instance. */ static constructFromObject(data: Object, obj: Weight): Weight; } export declare namespace Weight { var UnitOfMeasureEnum: { /** * value: "KG" * @const */ KG: string; /** * value: "LB" * @const */ LB: string; }; } //# sourceMappingURL=Weight.d.ts.map