@paydock/client-sdk
Version:
Paydock client sdk
28 lines • 1.13 kB
TypeScript
import { Checkout } from '@auspayplus/open-payments-checkout';
import { Container } from '../../components/container';
import { IWalletService, IWalletServiceMeta, WalletService } from './wallet-service';
import { Link } from '../../components/link';
import { WalletBackground } from '../../components/wallet-background';
export declare class FlypayV2WalletService extends WalletService implements IWalletService {
protected background: WalletBackground;
protected checkout: Checkout;
protected link: Link;
protected accessToken?: string;
protected refreshToken?: string;
protected orderId?: string;
protected flypayV2Button: HTMLButtonElement;
private widgetId;
constructor(publicKey: string, meta: IWalletServiceMeta);
load(container: Container): any;
setEnv(env: string): this;
enable(): void;
disable(): void;
private mount;
private getButton;
private onFlypayV2ButtonClick;
private handleMerchantOnButtonClickEvent;
private getOrderId;
private flypayV2Checkout;
private initBackground;
}
//# sourceMappingURL=flypay-v2.wallet-service.d.ts.map