UNPKG

collect-africa-js

Version:
26 lines (25 loc) 696 B
import { CollectCheckoutParam } from '../model'; export declare class CollectCheckoutService { private clientConfiguration; private readonly hostUrl; private readonly hostKey; private readonly collectAppID; private readonly collectAppLoader; private readonly collectAppWidget; private readonly _handleMessageAddEventListener; constructor(clientConfiguration: CollectCheckoutParam); /** * Setup collect checkout */ setup(): void; /** * Open collect checkout */ open(): void; /** * Close collect checkout */ close(): Promise<void>; private handleMessageAddEventListener; private validateConfiguration; }