/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiError } from '../core.js'; import { LinkDescription } from '../models/linkDescription.js'; import { TransactionSearchErrorDetails } from '../models/transactionSearchErrorDetails.js'; /** * Creates an instance of Search */ interface Search { /** The human-readable, unique name of the error. */ name: string; /** The message that describes the error. */ message: string; /** The PayPal internal ID. Used for correlation purposes. */ debug_id: string; /** The information link, or URI, that shows detailed information about this error for the developer. */ information_link?: string; /** An array of additional details about the error. */ details?: TransactionSearchErrorDetails[]; /** An array of request-related [HATEOAS links](/docs/api/reference/api-responses/#hateoas-links). */ links?: LinkDescription[]; /** The total number of transactions. Valid only for `RESULTSET_TOO_LARGE`. */ total_items?: number; /** The maximum number of transactions. Valid only for `RESULTSET_TOO_LARGE`. */ maximum_items?: number; } export class SearchError extends ApiError {}