/**
* Amazon Shipping API
* The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
*
* The version of the OpenAPI document: v2
* Contact: swa-api-core@amazon.com
*
* 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 shipping_v2/model/Weight
* @version v2
*/
export declare class Weight {
unit: string;
value: number;
/**
* Constructs a new Weight.
* The weight in the units indicated.
* @alias module:shipping_v2/model/Weight
* @class
* @param unit {String} The unit of measurement.
* @param value {Number} The measurement value.
*/
constructor(unit: string, value: number);
/**
* 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 UnitEnum: {
/**
* value: "GRAM"
* @const
*/
GRAM: string;
/**
* value: "KILOGRAM"
* @const
*/
KILOGRAM: string;
/**
* value: "OUNCE"
* @const
*/
OUNCE: string;
/**
* value: "POUND"
* @const
*/
POUND: string;
};
}
//# sourceMappingURL=Weight.d.ts.map