/** * Selling Partner API for Replenishment * The Selling Partner API for Replenishment (Replenishment API) provides programmatic access to replenishment program metrics and offers. These programs provide recurring delivery of any replenishable item at a frequency chosen by the customer. The Replenishment API is available worldwide wherever Amazon Subscribe & Save is available or is supported. The API is available to vendors and FBA selling partners. * * The version of the OpenAPI document: 2022-11-07 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The Error model module. * @module replenishment_v2022_11_07/model/Error * @version 2022-11-07 */ export declare class Error { code: string; message: string; /** * Constructs a new Error. * Error response returned when the request is unsuccessful. * @alias module:replenishment_v2022_11_07/model/Error * @class * @param code {String} An error code that identifies the type of error that occurred. * @param message {String} A message that describes the error condition. */ constructor(code: string, message: string); /** * Constructs a Error 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 {Error} obj Optional instance to populate. * @return {Error} The populated Error instance. */ static constructFromObject(data: Object, obj: Error): Error; } //# sourceMappingURL=Error.d.ts.map