@paydock/client-sdk
Version:
Paydock client sdk
27 lines • 1.16 kB
TypeScript
import { IParams, ISRCParams, IWalletParams } from './param';
import { Env } from '../configs/env';
export declare const WIDGET_LINK = "/remote-action";
export declare const VAULT_DISPLAY_WIDGET_LINK = "/vault-display";
export declare const PAYMENT_SOURCE_LINK = "/payment-sources";
export declare const SECURE_3D = "/3ds/webhook";
export declare const FLYPAY_LINK = "/wallet/flypay";
export declare const FLYPAY_LOGO_LINK = "/images/coles-pay-logo.png";
export declare const VISA_SRC = "/secure-remote-commerce/visa";
export declare const MESSAGE_WIDGET_LINK = "/message-widget";
export declare const MASTERCARD_SRC = "/secure-remote-commerce/mastercard";
export declare class Link {
protected env: Env;
protected linkResource: string;
protected params: IParams;
protected widgetId: string;
constructor(linkResource: string);
getNetUrl(): string;
getUrl(): string;
setParams(params: IParams | IWalletParams | ISRCParams): void;
concatParams(params: IParams): void;
getParams(): IParams;
setEnv(env: string, alias?: string): void;
getEnv(): string;
getBaseUrl(): string;
}
//# sourceMappingURL=link.d.ts.map