UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

35 lines (34 loc) 1.16 kB
import { h } from 'preact'; import UIElement from '../UIElement'; import { ErrorCodeObject } from './components/utils'; import { ActionHandledReturnObject, AnalyticsModule } from '../types'; import { SendAnalyticsObject } from '../../core/Analytics/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; modules?: { analytics: AnalyticsModule; }; } declare class ThreeDS2DeviceFingerprint extends UIElement<ThreeDS2DeviceFingerprintProps> { static type: string; static defaultProps: { dataKey: string; type: string; }; private callSubmit3DS2Fingerprint; protected submitAnalytics: (aObj: SendAnalyticsObject) => void; onComplete(state: any): void; render(): h.JSX.Element; } export default ThreeDS2DeviceFingerprint;