/** * Selling Partner API for Finances * The Selling Partner API for Finances provides financial information that is relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range. * * 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 finances_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:finances_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 in a human-readable form. */ 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