UNPKG

@adyen/react-native

Version:

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

20 lines (16 loc) 517 B
"use strict"; /** Native module interface specific to CSE */ export class AdyenCSEWrapper { constructor(nativeModule) { this.nativeModule = nativeModule; } /** Method to encrypt card. */ encryptCard(payload, publicKey) { return this.nativeModule.encryptCard(payload, publicKey); } /** Method to encrypt BIN(first 6-11 digits of the card). */ encryptBin(payload, publicKey) { return this.nativeModule.encryptBin(payload, publicKey); } } //# sourceMappingURL=AdyenCSEModuleWrapper.js.map