@paydock/client-sdk
Version:
Paydock client sdk
24 lines • 795 B
TypeScript
import { Container } from '../../components/container';
import { IWalletService, IWalletServiceMeta, WalletService } from './wallet-service';
declare global {
interface Window {
AfterPay: any;
}
}
export declare class AfterPayWalletService extends WalletService implements IWalletService {
private readonly CHECKOUT_URL;
private token;
private storageDispatcher;
private isRedirectMode;
constructor(token: string, meta: IWalletServiceMeta);
load(container: Container): any;
setEnv(env: string): this;
private mount;
private onAfterPayButtonClicked;
private getCheckoutSession;
private getButton;
private getButtonStyle;
private generateButtonColor;
private getHeight;
}
//# sourceMappingURL=afterpay.wallet-service.d.ts.map