@adyen/adyen-web
Version:

30 lines (29 loc) • 943 B
TypeScript
import { h } from 'preact';
import UIElement from '../UIElement';
import { ErrorCodeObject } from './components/utils';
import { ActionHandledReturnObject } from '../types';
export interface ThreeDS2DeviceFingerprintProps {
dataKey: string;
token: string;
notificationURL: string;
onError: (error?: string | ErrorCodeObject) => void;
paymentData: string;
showSpinner: boolean;
type: string;
useOriginalFlow?: boolean;
loadingContext?: string;
clientKey?: string;
elementRef?: UIElement;
onActionHandled: (rtnObj: ActionHandledReturnObject) => void;
}
declare class ThreeDS2DeviceFingerprint extends UIElement<ThreeDS2DeviceFingerprintProps> {
static type: string;
static defaultProps: {
dataKey: string;
type: string;
};
private callSubmit3DS2Fingerprint;
onComplete(state: any): void;
render(): h.JSX.Element;
}
export default ThreeDS2DeviceFingerprint;