/** * Selling Partner API for Retail Procurement Shipments * The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors. * * 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 Duration model module. * @module vendorshipments_v1/model/Duration * @version v1 */ export declare class Duration { durationUnit: string; durationValue: number; /** * Constructs a new Duration. * Duration after manufacturing date during which the product is valid for consumption. * @alias module:vendorshipments_v1/model/Duration * @class * @param durationUnit {String} Unit for duration. * @param durationValue {Number} Value for the duration in terms of the durationUnit. */ constructor(durationUnit: string, durationValue: number); /** * Constructs a Duration 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 {Duration} obj Optional instance to populate. * @return {Duration} The populated Duration instance. */ static constructFromObject(data: Object, obj: Duration): Duration; } export declare namespace Duration { var DurationUnitEnum: { /** * value: "Days" * @const */ Days: string; /** * value: "Months" * @const */ Months: string; }; } //# sourceMappingURL=Duration.d.ts.map