UNPKG

paypal-rest-api

Version:

A typescript module for integrating with PayPal REST APIs.

20 lines (19 loc) 625 B
import { Client } from "../client"; import Invoice from "../invoice"; import Payment from "../payment"; import Sale from "../sale"; import Webhook from "../webhook"; import WebhookEvent from "../webhookEvent"; import { IConfigureOptions } from "./types"; export declare class PayPalRestApi { private _client; private _config; constructor(config: IConfigureOptions); config: IConfigureOptions; client: Client; readonly invoice: typeof Invoice; readonly webhook: typeof Webhook; readonly webhookEvent: typeof WebhookEvent; readonly payment: typeof Payment; readonly sale: typeof Sale; }