/** * Selling Partner API for Retail Procurement Payments * The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The TotalWeight model module. * @module vendorinvoices_v1/model/TotalWeight * @version v1 */ export declare class TotalWeight { unitOfMeasure: string; amount: string; /** * Constructs a new TotalWeight. * The aggregate weight of this item being invoiced. This information will be available for items sold by weight. * @alias module:vendorinvoices_v1/model/TotalWeight * @class * @param unitOfMeasure {String} The unit of measure for items sold by weight. * @param amount {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, amount: string); /** * Constructs a TotalWeight 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 {TotalWeight} obj Optional instance to populate. * @return {TotalWeight} The populated TotalWeight instance. */ static constructFromObject(data: Object, obj: TotalWeight): TotalWeight; } export declare namespace TotalWeight { var UnitOfMeasureEnum: { /** * value: "POUNDS" * @const */ POUNDS: string; /** * value: "OUNCES" * @const */ OUNCES: string; /** * value: "GRAMS" * @const */ GRAMS: string; /** * value: "KILOGRAMS" * @const */ KILOGRAMS: string; }; } //# sourceMappingURL=TotalWeight.d.ts.map