collect-africa-js
Version:
Collect Africa Checkout library
26 lines (25 loc) • 696 B
TypeScript
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;
}