UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

23 lines 835 B
import { HttpCore } from "../components/http-core"; export declare const TYPE: { EXTERNAL_CHECKOUT_TOKEN: string; CHECKOUT_TOKEN: string; BANK_ACCOUNT: string; CARD: string; }; export interface IBody { gateway_id: string; type: string; checkout_token?: string; } export declare class Builder extends HttpCore { private body; constructor(gatewayID: string, checkoutToken: string, type: string); constructor(gatewayID: string, externalCheckoutToken: string, type: string); constructor(gatewayID: string, card: any, type: string); constructor(gatewayID: string, bankAccount: any, type: string); protected getLink(): string; send(accessToken: string, cb: (token: string) => void, errorCb?: (error: any) => void): void; getConfigs(): IBody; } //# sourceMappingURL=builder.d.ts.map