UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

54 lines (53 loc) 1.43 kB
import { InvalidField } from "./invalidField"; export declare class RestServiceError { /** * A human-readable explanation specific to this occurrence of the problem. */ "detail": string; /** * A code that identifies the problem type. */ "errorCode": string; /** * A unique URI that identifies the specific occurrence of the problem. */ "instance"?: string; /** * Detailed explanation of each validation error, when applicable. */ "invalidFields"?: Array<InvalidField>; /** * A unique reference for the request, essentially the same as `pspReference`. */ "requestId"?: string; "response"?: any; /** * The HTTP status code. */ "status": number; /** * A short, human-readable summary of the problem type. */ "title": string; /** * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. */ "type": string; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); }