UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

12 lines 590 B
import { SessionResponse } from '../core/types'; import { AdyenComponent } from '../core/AdyenNativeModules'; /** Describes a native module capable of creating new sessions. */ export interface SessionHelperModule extends AdyenComponent { /** * Initiates session on client side and provides session context for sessionData and SessionID. */ createSession: (session: any, configuration: any) => Promise<SessionResponse>; } /** Collection of session helper methods */ export declare const SessionHelper: SessionHelperModule; //# sourceMappingURL=SessionHelperModule.d.ts.map