UNPKG

@adyen/api-library

Version:

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

28 lines (27 loc) 1.16 kB
import Service from "../../service"; import Client from "../../client"; import { IRequest } from "../../typings/requestOptions"; import { GrantOffer } from "../../typings/capital/models"; import { GrantOffers } from "../../typings/capital/models"; /** * API handler for GrantOffersApi */ export declare class GrantOffersApi extends Service { private readonly API_BASEPATH; private baseUrl; constructor(client: Client); /** * @summary Get all available static offers * @param requestOptions {@link IRequest.Options } * @param accountHolderId {@link string } (Required) The unique identifier of the account holder for which you want to get the available static offers. * @return {@link GrantOffers } */ getAllGrantOffers(accountHolderId: string, requestOptions?: IRequest.Options): Promise<GrantOffers>; /** * @summary Get the details of a static offer * @param id {@link string } The unique identifier of the static offer. * @param requestOptions {@link IRequest.Options } * @return {@link GrantOffer } */ getGrantOffer(id: string, requestOptions?: IRequest.Options): Promise<GrantOffer>; }