/** * Selling Partner API for Orders * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response). * * The version of the OpenAPI document: v0 * * * 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 orders_v0/model/Error * @version v0 */ export declare class Error { code: string; message: string; /** * Constructs a new Error. * Error response returned when the request is unsuccessful. * @alias module:orders_v0/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