/** * Selling Partner API for Tokens * The Selling Partner API for Tokens provides a secure way to access a customer's PII (Personally Identifiable Information). You can call the Tokens API to get a Restricted Data Token (RDT) for one or more restricted resources that you specify. The RDT authorizes subsequent calls to restricted operations that correspond to the restricted resources that you specified. For more information, see the [Tokens API Use Case Guide](doc:tokens-api-use-case-guide). * * The version of the OpenAPI document: 2021-03-01 * * * 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 tokens_v2021_03_01/model/Error * @version 2021-03-01 */ export declare class Error { code: string; message: string; /** * Constructs a new Error. * An error response returned when the request is unsuccessful. * @alias module:tokens_v2021_03_01/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