react-native-payengine 1.0.6 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +269 -110
- package/android/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{5.6.4/fileHashes/resourceHashesCache.bin → 6.1.1/fileHashes/fileHashes.bin} +0 -0
- package/android/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.idea/caches/deviceStreaming.xml +329 -0
- package/android/.idea/gradle.xml +2 -3
- package/android/.idea/kotlinc.xml +6 -0
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +1 -1
- package/android/build.gradle +25 -4
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/payment-sdk-debug-1.0.2.aar +0 -0
- package/android/payment-sdk-release-1.0.2.aar +0 -0
- package/android/src/main/java/com/reactnativepayengine/PayengineModule.java +1 -5
- package/android/src/main/java/com/reactnativepayengine/PayenginePackage.java +9 -33
- package/android/src/main/java/com/reactnativepayengine/util/MetricsUtil.kt +44 -0
- package/android/src/main/java/com/reactnativepayengine/v2/RNPEFraudAnalyticsApplication.java +55 -0
- package/android/src/main/java/com/reactnativepayengine/v2/RNPayEngineNative.kt +73 -0
- package/android/src/main/java/com/reactnativepayengine/v2/features/googlepay/RNPEGooglePayButton.kt +105 -0
- package/android/src/main/java/com/reactnativepayengine/v2/features/googlepay/RNPEGooglePayButtonManager.kt +56 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/RNPEEvents.kt +11 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/RNPEField.kt +17 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/bankaccount/RNBankAccountViewManager.kt +103 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/bankaccount/RNPEBankAccountView.kt +77 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/creditcard/RNPECreditCardView.kt +77 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/creditcard/RNPECreditCardViewManager.kt +103 -0
- package/ios/PayEngineSDK.xcframework/Info.plist +44 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Frameworks/libKountDataCollector.a +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/CustomWindow.h +25 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/KDataCollector.h +106 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/KountAnalyticsViewController.h +82 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +622 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK.h +20 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/UIControl+CustomControl.h +33 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/UIViewController+TouchControl.h +27 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.abi.json +15143 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface-e +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface-e +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/module.modulemap +11 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/browserInfo.html +136 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/perform3ds.html +467 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Frameworks/libKountDataCollector.a +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/CustomWindow.h +25 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/KDataCollector.h +106 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/KountAnalyticsViewController.h +82 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +1240 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK.h +20 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/UIControl+CustomControl.h +33 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/UIViewController+TouchControl.h +27 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +15143 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +15143 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +326 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/module.modulemap +11 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/browserInfo.html +136 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/perform3ds.html +467 -0
- package/ios/Payengine.xcodeproj/project.pbxproj +14 -4
- package/ios/Payengine.xcodeproj/project.xcworkspace/xcuserdata/tringuyen.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Payengine.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Payengine.xcworkspace/xcuserdata/tringuyen.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Sources/Classes/ApplePay/RNPEApplePayButton.swift +111 -0
- package/ios/Sources/Classes/ApplePay/RNPEApplePayPaymentRequest.swift +43 -0
- package/ios/Sources/Classes/RNPEError.swift +12 -0
- package/ios/Sources/Classes/RNPEEventEmitter.swift +29 -0
- package/ios/Sources/Classes/RNPEUtils.swift +30 -0
- package/ios/Sources/Classes/RNPayEngineNative.swift +87 -0
- package/ios/Sources/Classes/SecureFields/RNPEBankAccountView.swift +130 -0
- package/ios/Sources/Classes/SecureFields/RNPECreditCardView.swift +129 -0
- package/ios/Sources/Classes/SecureFields/RNPEEvents.swift +15 -0
- package/ios/Sources/Classes/SecureFields/RNPEField.swift +26 -0
- package/ios/Sources/Payengine.m +73 -0
- package/ios/Sources/Payengine.swift +13 -0
- package/lib/commonjs/components/PayEngine.js +2 -123
- package/lib/commonjs/components/PayEngine.js.map +1 -1
- package/lib/commonjs/components/v2/ApplePay/PEApplePayButton.js +55 -0
- package/lib/commonjs/components/v2/ApplePay/PEApplePayButton.js.map +1 -0
- package/lib/commonjs/components/v2/GooglePay/PEGooglePayButton.js +70 -0
- package/lib/commonjs/components/v2/GooglePay/PEGooglePayButton.js.map +1 -0
- package/lib/commonjs/components/v2/PEPaymentRequest.js +32 -0
- package/lib/commonjs/components/v2/PEPaymentRequest.js.map +1 -0
- package/lib/commonjs/components/v2/PayEngineNative.js +36 -0
- package/lib/commonjs/components/v2/PayEngineNative.js.map +1 -0
- package/lib/commonjs/components/{SecureFields/VGS/TextField.js → v2/PayEngineProvider.js} +28 -12
- package/lib/commonjs/components/v2/PayEngineProvider.js.map +1 -0
- package/lib/commonjs/components/v2/SecureFields/BankAccountView.js +89 -0
- package/lib/commonjs/components/v2/SecureFields/BankAccountView.js.map +1 -0
- package/lib/commonjs/components/v2/SecureFields/CreditCardView.js +90 -0
- package/lib/commonjs/components/v2/SecureFields/CreditCardView.js.map +1 -0
- package/lib/commonjs/components/v2/SecureFields/IPEField.js +6 -0
- package/lib/commonjs/components/v2/SecureFields/IPEField.js.map +1 -0
- package/lib/commonjs/components/v2/SecureFields/PEBankAccount.js +6 -0
- package/lib/commonjs/components/v2/SecureFields/PEBankAccount.js.map +1 -0
- package/lib/commonjs/components/v2/SecureFields/PECard.js +6 -0
- package/lib/commonjs/components/v2/SecureFields/PECard.js.map +1 -0
- package/lib/commonjs/components/v2/SecureFields/PEKeyboardType.js +18 -0
- package/lib/commonjs/components/v2/SecureFields/PEKeyboardType.js.map +1 -0
- package/lib/commonjs/index.js +62 -18
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/interfaces/index.js +0 -4
- package/lib/commonjs/interfaces/index.js.map +1 -1
- package/lib/commonjs/utils/index.js +10 -38
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/module/components/PayEngine.js +3 -118
- package/lib/module/components/PayEngine.js.map +1 -1
- package/lib/module/components/v2/ApplePay/PEApplePayButton.js +41 -0
- package/lib/module/components/v2/ApplePay/PEApplePayButton.js.map +1 -0
- package/lib/module/components/v2/GooglePay/PEGooglePayButton.js +56 -0
- package/lib/module/components/v2/GooglePay/PEGooglePayButton.js.map +1 -0
- package/lib/module/components/v2/PEPaymentRequest.js +23 -0
- package/lib/module/components/v2/PEPaymentRequest.js.map +1 -0
- package/lib/module/components/v2/PayEngineNative.js +25 -0
- package/lib/module/components/v2/PayEngineNative.js.map +1 -0
- package/lib/module/components/v2/PayEngineProvider.js +30 -0
- package/lib/module/components/v2/PayEngineProvider.js.map +1 -0
- package/lib/module/components/v2/SecureFields/BankAccountView.js +75 -0
- package/lib/module/components/v2/SecureFields/BankAccountView.js.map +1 -0
- package/lib/module/components/v2/SecureFields/CreditCardView.js +76 -0
- package/lib/module/components/v2/SecureFields/CreditCardView.js.map +1 -0
- package/lib/module/components/v2/SecureFields/IPEField.js +2 -0
- package/lib/module/components/v2/SecureFields/IPEField.js.map +1 -0
- package/lib/module/components/v2/SecureFields/PEBankAccount.js +2 -0
- package/lib/module/components/v2/SecureFields/PEBankAccount.js.map +1 -0
- package/lib/module/components/v2/SecureFields/PECard.js +2 -0
- package/lib/module/components/v2/SecureFields/PECard.js.map +1 -0
- package/lib/module/components/v2/SecureFields/PEKeyboardType.js +11 -0
- package/lib/module/components/v2/SecureFields/PEKeyboardType.js.map +1 -0
- package/lib/module/index.js +15 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/index.js +1 -1
- package/lib/module/interfaces/index.js.map +1 -1
- package/lib/module/utils/index.js +6 -37
- package/lib/module/utils/index.js.map +1 -1
- package/lib/typescript/components/PayEngine.d.ts +1 -14
- package/lib/typescript/components/v2/ApplePay/PEApplePayButton.d.ts +12 -0
- package/lib/typescript/components/v2/GooglePay/PEGooglePayButton.d.ts +12 -0
- package/lib/typescript/components/v2/PEPaymentRequest.d.ts +13 -0
- package/lib/typescript/components/v2/PayEngineNative.d.ts +5 -0
- package/lib/typescript/components/v2/PayEngineProvider.d.ts +8 -0
- package/lib/typescript/components/v2/SecureFields/BankAccountView.d.ts +14 -0
- package/lib/typescript/components/v2/SecureFields/CreditCardView.d.ts +14 -0
- package/lib/typescript/components/v2/SecureFields/IPEField.d.ts +10 -0
- package/lib/typescript/components/v2/SecureFields/PEBankAccount.d.ts +11 -0
- package/lib/typescript/components/v2/SecureFields/PECard.d.ts +13 -0
- package/lib/typescript/components/v2/SecureFields/PEKeyboardType.d.ts +7 -0
- package/lib/typescript/index.d.ts +13 -6
- package/lib/typescript/interfaces/index.d.ts +0 -27
- package/lib/typescript/utils/index.d.ts +3 -36
- package/package.json +11 -6
- package/react-native-payengine.podspec +2 -2
- package/src/components/PayEngine.tsx +5 -118
- package/src/components/v2/ApplePay/PEApplePayButton.tsx +74 -0
- package/src/components/v2/GooglePay/PEGooglePayButton.tsx +73 -0
- package/src/components/v2/PEPaymentRequest.ts +20 -0
- package/src/components/v2/PayEngineNative.tsx +22 -0
- package/src/components/v2/PayEngineProvider.tsx +30 -0
- package/src/components/v2/SecureFields/BankAccountView.tsx +95 -0
- package/src/components/v2/SecureFields/CreditCardView.tsx +96 -0
- package/src/components/v2/SecureFields/IPEField.ts +12 -0
- package/src/components/v2/SecureFields/PEBankAccount.ts +12 -0
- package/src/components/v2/SecureFields/PECard.ts +14 -0
- package/src/components/v2/SecureFields/PEKeyboardType.ts +8 -0
- package/src/index.tsx +49 -22
- package/src/interfaces/index.ts +0 -32
- package/src/utils/index.ts +8 -36
- package/android/.gradle/5.6.4/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/5.6.4/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/5.6.4/fileContent/fileContent.lock +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/5.6.4/javaCompile/classAnalysis.bin +0 -0
- package/android/.gradle/5.6.4/javaCompile/jarAnalysis.bin +0 -0
- package/android/.gradle/5.6.4/javaCompile/javaCompile.lock +0 -0
- package/android/.gradle/5.6.4/javaCompile/taskHistory.bin +0 -0
- package/android/src/main/java/com/reactnativepayengine/collect/VGSCollectModule.java +0 -153
- package/android/src/main/java/com/reactnativepayengine/collect/VGSCollectOnCreateViewInstanceListener.java +0 -6
- package/android/src/main/java/com/reactnativepayengine/collect/fields/VGSCVCField.java +0 -67
- package/android/src/main/java/com/reactnativepayengine/collect/fields/VGSCardHolderNameField.java +0 -53
- package/android/src/main/java/com/reactnativepayengine/collect/fields/VGSCardNumberField.java +0 -57
- package/android/src/main/java/com/reactnativepayengine/collect/fields/VGSExpDateField.java +0 -54
- package/android/src/main/java/com/reactnativepayengine/collect/fields/VGSTextField.java +0 -57
- package/android/src/main/java/com/reactnativepayengine/collect/fields/VGSZipCodeField.java +0 -62
- package/android/src/main/java/com/reactnativepayengine/util/ResourceUtil.java +0 -14
- package/ios/Payengine.m +0 -72
- package/ios/Payengine.swift +0 -720
- package/lib/commonjs/components/ApplePay/PayEngineApplePay.js +0 -71
- package/lib/commonjs/components/ApplePay/PayEngineApplePay.js.map +0 -1
- package/lib/commonjs/components/ApplePay/index.js +0 -46
- package/lib/commonjs/components/ApplePay/index.js.map +0 -1
- package/lib/commonjs/components/ApplePay/interfaces.js +0 -2
- package/lib/commonjs/components/ApplePay/interfaces.js.map +0 -1
- package/lib/commonjs/components/CreditCardForm/index.js +0 -76
- package/lib/commonjs/components/CreditCardForm/index.js.map +0 -1
- package/lib/commonjs/components/GooglePay/PayEngineGooglePay.js +0 -65
- package/lib/commonjs/components/GooglePay/PayEngineGooglePay.js.map +0 -1
- package/lib/commonjs/components/GooglePay/index.js +0 -40
- package/lib/commonjs/components/GooglePay/index.js.map +0 -1
- package/lib/commonjs/components/GooglePay/interfaces.js +0 -2
- package/lib/commonjs/components/GooglePay/interfaces.js.map +0 -1
- package/lib/commonjs/components/Legacy/CreditCardFormLegacy.js +0 -323
- package/lib/commonjs/components/Legacy/CreditCardFormLegacy.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/CVCField.js +0 -26
- package/lib/commonjs/components/SecureFields/VGS/CVCField.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/CardHolderNameField.js +0 -26
- package/lib/commonjs/components/SecureFields/VGS/CardHolderNameField.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/CardNumberField.js +0 -26
- package/lib/commonjs/components/SecureFields/VGS/CardNumberField.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/CollectManager.js +0 -60
- package/lib/commonjs/components/SecureFields/VGS/CollectManager.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/ExpDateField.js +0 -26
- package/lib/commonjs/components/SecureFields/VGS/ExpDateField.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/TextField.js.map +0 -1
- package/lib/commonjs/components/SecureFields/VGS/ZipCodeField.js +0 -26
- package/lib/commonjs/components/SecureFields/VGS/ZipCodeField.js.map +0 -1
- package/lib/commonjs/components/SecureFields/index.js +0 -34
- package/lib/commonjs/components/SecureFields/index.js.map +0 -1
- package/lib/module/components/ApplePay/PayEngineApplePay.js +0 -58
- package/lib/module/components/ApplePay/PayEngineApplePay.js.map +0 -1
- package/lib/module/components/ApplePay/index.js +0 -35
- package/lib/module/components/ApplePay/index.js.map +0 -1
- package/lib/module/components/ApplePay/interfaces.js +0 -2
- package/lib/module/components/ApplePay/interfaces.js.map +0 -1
- package/lib/module/components/CreditCardForm/index.js +0 -60
- package/lib/module/components/CreditCardForm/index.js.map +0 -1
- package/lib/module/components/GooglePay/PayEngineGooglePay.js +0 -52
- package/lib/module/components/GooglePay/PayEngineGooglePay.js.map +0 -1
- package/lib/module/components/GooglePay/index.js +0 -29
- package/lib/module/components/GooglePay/index.js.map +0 -1
- package/lib/module/components/GooglePay/interfaces.js +0 -2
- package/lib/module/components/GooglePay/interfaces.js.map +0 -1
- package/lib/module/components/Legacy/CreditCardFormLegacy.js +0 -302
- package/lib/module/components/Legacy/CreditCardFormLegacy.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/CVCField.js +0 -14
- package/lib/module/components/SecureFields/VGS/CVCField.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/CardHolderNameField.js +0 -14
- package/lib/module/components/SecureFields/VGS/CardHolderNameField.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/CardNumberField.js +0 -14
- package/lib/module/components/SecureFields/VGS/CardNumberField.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/CollectManager.js +0 -45
- package/lib/module/components/SecureFields/VGS/CollectManager.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/ExpDateField.js +0 -14
- package/lib/module/components/SecureFields/VGS/ExpDateField.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/TextField.js +0 -17
- package/lib/module/components/SecureFields/VGS/TextField.js.map +0 -1
- package/lib/module/components/SecureFields/VGS/ZipCodeField.js +0 -14
- package/lib/module/components/SecureFields/VGS/ZipCodeField.js.map +0 -1
- package/lib/module/components/SecureFields/index.js +0 -17
- package/lib/module/components/SecureFields/index.js.map +0 -1
- package/lib/typescript/components/ApplePay/PayEngineApplePay.d.ts +0 -12
- package/lib/typescript/components/ApplePay/index.d.ts +0 -7
- package/lib/typescript/components/ApplePay/interfaces.d.ts +0 -20
- package/lib/typescript/components/CreditCardForm/index.d.ts +0 -3
- package/lib/typescript/components/GooglePay/PayEngineGooglePay.d.ts +0 -10
- package/lib/typescript/components/GooglePay/index.d.ts +0 -7
- package/lib/typescript/components/GooglePay/interfaces.d.ts +0 -38
- package/lib/typescript/components/Legacy/CreditCardFormLegacy.d.ts +0 -4
- package/lib/typescript/components/SecureFields/VGS/CVCField.d.ts +0 -10
- package/lib/typescript/components/SecureFields/VGS/CardHolderNameField.d.ts +0 -10
- package/lib/typescript/components/SecureFields/VGS/CardNumberField.d.ts +0 -10
- package/lib/typescript/components/SecureFields/VGS/CollectManager.d.ts +0 -12
- package/lib/typescript/components/SecureFields/VGS/ExpDateField.d.ts +0 -10
- package/lib/typescript/components/SecureFields/VGS/TextField.d.ts +0 -14
- package/lib/typescript/components/SecureFields/VGS/ZipCodeField.d.ts +0 -10
- package/lib/typescript/components/SecureFields/index.d.ts +0 -16
- package/src/components/ApplePay/PayEngineApplePay.ts +0 -61
- package/src/components/ApplePay/index.ts +0 -32
- package/src/components/ApplePay/interfaces.ts +0 -25
- package/src/components/CreditCardForm/index.tsx +0 -43
- package/src/components/GooglePay/PayEngineGooglePay.ts +0 -48
- package/src/components/GooglePay/index.ts +0 -39
- package/src/components/GooglePay/interfaces.ts +0 -42
- package/src/components/Legacy/CreditCardFormLegacy.tsx +0 -292
- package/src/components/SecureFields/VGS/CVCField.tsx +0 -21
- package/src/components/SecureFields/VGS/CardHolderNameField.tsx +0 -21
- package/src/components/SecureFields/VGS/CardNumberField.tsx +0 -21
- package/src/components/SecureFields/VGS/CollectManager.tsx +0 -74
- package/src/components/SecureFields/VGS/ExpDateField.tsx +0 -21
- package/src/components/SecureFields/VGS/TextField.tsx +0 -27
- package/src/components/SecureFields/VGS/ZipCodeField.tsx +0 -21
- package/src/components/SecureFields/index.ts +0 -17
- /package/android/.gradle/{5.6.4 → 6.1.1}/fileChanges/last-build.bin +0 -0
- /package/android/.gradle/{5.6.4 → 6.1.1}/gc.properties +0 -0
- /package/android/{vgscollect-1.7.2-debug.aar → securefields-1.7.2-debug.aar} +0 -0
- /package/ios/{Payengine-Bridging-Header.h → Sources/Payengine-Bridging-Header.h} +0 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios12.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PayEngineSDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Foundation
|
|
6
|
+
import PassKit
|
|
7
|
+
@_exported import PayEngineSDK
|
|
8
|
+
import Swift
|
|
9
|
+
import SwiftUI
|
|
10
|
+
import UIKit
|
|
11
|
+
import WebKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
import _SwiftConcurrencyShims
|
|
15
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor(unsafe) public class PEComponent : UIKit.UIView, WebKit.WKScriptMessageHandler {
|
|
16
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToSuperview()
|
|
17
|
+
@objc @_Concurrency.MainActor(unsafe) public func setup(config: PEConfig, componentName: Swift.String, props: [Swift.String : Swift.String])
|
|
18
|
+
@objc @_Concurrency.MainActor(unsafe) public func pinTo(view: UIKit.UIView)
|
|
19
|
+
@objc @_Concurrency.MainActor(unsafe) public func registerEvent(name: Swift.String, handler: @escaping (_ data: Swift.AnyObject) -> Swift.Void)
|
|
20
|
+
@objc @_Concurrency.MainActor(unsafe) public func removeEvent(name: Swift.String)
|
|
21
|
+
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
22
|
+
@objc deinit
|
|
23
|
+
}
|
|
24
|
+
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
25
|
+
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
26
|
+
@objc public func getBaseURL() -> Swift.String
|
|
27
|
+
@objc public func isProduction() -> Swift.Bool
|
|
28
|
+
@objc deinit
|
|
29
|
+
}
|
|
30
|
+
@objc public enum PEThemeMode : Swift.Int {
|
|
31
|
+
case system
|
|
32
|
+
case dark
|
|
33
|
+
case light
|
|
34
|
+
public init?(rawValue: Swift.Int)
|
|
35
|
+
public typealias RawValue = Swift.Int
|
|
36
|
+
public var rawValue: Swift.Int {
|
|
37
|
+
get
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor(unsafe) public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
+
@_Concurrency.MainActor(unsafe) public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
42
|
+
@_Concurrency.MainActor(unsafe) public func createBankAccount(merchantId: Swift.String, completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
|
+
@_Concurrency.MainActor(unsafe) public func createBankAccount(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
44
|
+
@objc @_Concurrency.MainActor(unsafe) public func createBankAccount(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (PEBankAccount) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
45
|
+
@_Concurrency.MainActor(unsafe) public func validate() -> Swift.Bool
|
|
46
|
+
@_Concurrency.MainActor(unsafe) public func showKeyboard()
|
|
47
|
+
@_Concurrency.MainActor(unsafe) public func hideKeyboard()
|
|
48
|
+
@_Concurrency.MainActor(unsafe) public func detectSizeChanges(onChange: @escaping (CoreFoundation.CGSize) -> Swift.Void)
|
|
49
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
50
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init(coder: Foundation.NSCoder)
|
|
51
|
+
@objc deinit
|
|
52
|
+
}
|
|
53
|
+
@_hasMissingDesignatedInitializers @objc public class PEApplePay : ObjectiveC.NSObject {
|
|
54
|
+
@objc public var delegate: (any PEApplePayDelegate)?
|
|
55
|
+
public func applePayStatus(for paymentNetworks: [ApplePayPaymentNetwork] = []) -> ApplePayStatus
|
|
56
|
+
@objc public func setupApplePayButton(for paymentRequest: ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
57
|
+
@objc public func startApplePayPayment() throws
|
|
58
|
+
@objc public func startApplePaySetup()
|
|
59
|
+
@objc deinit
|
|
60
|
+
}
|
|
61
|
+
extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
62
|
+
@objc dynamic public func paymentAuthorizationViewControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationViewController)
|
|
63
|
+
@objc dynamic public func paymentAuthorizationViewController(_ controller: PassKit.PKPaymentAuthorizationViewController, didAuthorizePayment payment: PassKit.PKPayment, completion: @escaping (PassKit.PKPaymentAuthorizationStatus) -> Swift.Void)
|
|
64
|
+
}
|
|
65
|
+
@objc @objcMembers public class ThreeDSMessage : ObjectiveC.NSObject, Swift.Codable {
|
|
66
|
+
@objc public init(type: Swift.String, subtype: Swift.String, data: ThreeDSResult?) throws
|
|
67
|
+
@objc deinit
|
|
68
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
69
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
70
|
+
}
|
|
71
|
+
@objc @objcMembers public class ThreeDSResult : ObjectiveC.NSObject, Swift.Codable {
|
|
72
|
+
@objc public var message: Swift.String?
|
|
73
|
+
@objc public var success: Swift.Bool
|
|
74
|
+
@objc public var transactionId: Swift.String?
|
|
75
|
+
@objc public init(message: Swift.String?, success: Swift.Bool, transactionId: Swift.String?) throws
|
|
76
|
+
@objc deinit
|
|
77
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
78
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
79
|
+
}
|
|
80
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor(unsafe) public class ThreeDSModal : UIKit.UIView, WebKit.WKNavigationDelegate, WebKit.WKScriptMessageHandler {
|
|
81
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
82
|
+
@objc @_Concurrency.MainActor(unsafe) public func setup(config: PEConfig, threeDSData: Swift.String, handler: @escaping (_ data: ThreeDSResult) -> Swift.Void)
|
|
83
|
+
@objc @_Concurrency.MainActor(unsafe) public func setupWebView()
|
|
84
|
+
@_Concurrency.MainActor(unsafe) @objc public func webView(_ webView: WebKit.WKWebView, decidePolicyFor navigationAction: WebKit.WKNavigationAction, decisionHandler: @escaping (WebKit.WKNavigationActionPolicy) -> Swift.Void)
|
|
85
|
+
@_Concurrency.MainActor(unsafe) @objc public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
|
|
86
|
+
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
87
|
+
@objc deinit
|
|
88
|
+
}
|
|
89
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor(unsafe) public class PEPaymentView : ICardNumberView {
|
|
90
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToSuperview()
|
|
91
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
92
|
+
@objc @_Concurrency.MainActor(unsafe) override public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
93
|
+
@objc @_Concurrency.MainActor(unsafe) override public func validate() -> Swift.Bool
|
|
94
|
+
@_Concurrency.MainActor(unsafe) override public func createCard(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
95
|
+
@objc @_Concurrency.MainActor(unsafe) override public func showKeyboard()
|
|
96
|
+
@objc deinit
|
|
97
|
+
}
|
|
98
|
+
@objc @objcMembers public class BankAccountResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
99
|
+
@objc public init(message: Swift.String, data: PEBankAccount) throws
|
|
100
|
+
@objc deinit
|
|
101
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
102
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
103
|
+
}
|
|
104
|
+
@objc @objcMembers public class BankAccountData : ObjectiveC.NSObject, Swift.Codable {
|
|
105
|
+
@objc public var routingNumber: Swift.String
|
|
106
|
+
@objc public var last4: Swift.String
|
|
107
|
+
@objc public var firstName: Swift.String
|
|
108
|
+
@objc public var lastName: Swift.String
|
|
109
|
+
@objc public init(routingNumber: Swift.String, last4: Swift.String, firstName: Swift.String, lastName: Swift.String) throws
|
|
110
|
+
@objc deinit
|
|
111
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
112
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
113
|
+
}
|
|
114
|
+
@objc @objcMembers public class PEBankAccount : ObjectiveC.NSObject, Swift.Codable {
|
|
115
|
+
@objc public var token: Swift.String
|
|
116
|
+
@objc public var bankAccountData: BankAccountData
|
|
117
|
+
@objc public init(token: Swift.String, bankAccountData: BankAccountData) throws
|
|
118
|
+
@objc deinit
|
|
119
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
120
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
121
|
+
}
|
|
122
|
+
public struct KountSettingResponseData : Swift.Codable {
|
|
123
|
+
public init(enable_kount_integration: Swift.Bool, kount_client_id: Swift.String?, session_ID: Swift.String?) throws
|
|
124
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
125
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
126
|
+
}
|
|
127
|
+
@objc @objcMembers public class PEField : ObjectiveC.NSObject {
|
|
128
|
+
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PEKeyboardType = .normal, pattern: Swift.String?)
|
|
129
|
+
@objc deinit
|
|
130
|
+
}
|
|
131
|
+
@objc @objcMembers public class CardResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
132
|
+
@objc public init(message: Swift.String, data: PECard) throws
|
|
133
|
+
@objc deinit
|
|
134
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
135
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
136
|
+
}
|
|
137
|
+
@objc @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
138
|
+
@objc public var id: Swift.String
|
|
139
|
+
@objc public var brand: Swift.String
|
|
140
|
+
@objc public var last4: Swift.String
|
|
141
|
+
@objc public var expMonth: Swift.Int
|
|
142
|
+
@objc public var expYear: Swift.Int
|
|
143
|
+
@objc public var name: Swift.String
|
|
144
|
+
@objc public var addressZip: Swift.String?
|
|
145
|
+
@objc public init(id: Swift.String, brand: Swift.String, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, name: Swift.String, addressZip: Swift.String?) throws
|
|
146
|
+
@objc deinit
|
|
147
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
148
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
149
|
+
}
|
|
150
|
+
@objc @objcMembers public class PECard : ObjectiveC.NSObject, Swift.Codable {
|
|
151
|
+
@objc public var token: Swift.String
|
|
152
|
+
@objc public var cardData: CardData
|
|
153
|
+
@objc public init(token: Swift.String, cardData: CardData) throws
|
|
154
|
+
@objc deinit
|
|
155
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
156
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
157
|
+
}
|
|
158
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class PEBankAccountView : IBankAccountView {
|
|
159
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToSuperview()
|
|
160
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
161
|
+
@_Concurrency.MainActor(unsafe) override public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
162
|
+
@_Concurrency.MainActor(unsafe) override public func validate() -> Swift.Bool
|
|
163
|
+
@_Concurrency.MainActor(unsafe) override public func createBankAccount(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
164
|
+
@_Concurrency.MainActor(unsafe) override public func showKeyboard()
|
|
165
|
+
@objc deinit
|
|
166
|
+
}
|
|
167
|
+
@objc public enum ApplePayStatus : Swift.Int {
|
|
168
|
+
case eligible
|
|
169
|
+
case needSetup
|
|
170
|
+
case notEligible
|
|
171
|
+
public func ApplePayStatusRawValue() -> Swift.String
|
|
172
|
+
public init?(rawValue: Swift.Int)
|
|
173
|
+
public typealias RawValue = Swift.Int
|
|
174
|
+
public var rawValue: Swift.Int {
|
|
175
|
+
get
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
179
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
180
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
181
|
+
}
|
|
182
|
+
@_inheritsConvenienceInitializers @objc public class ApplePayPaymentRequest : ObjectiveC.NSObject {
|
|
183
|
+
public var paymentItems: [PassKit.PKPaymentSummaryItem] {
|
|
184
|
+
get
|
|
185
|
+
set
|
|
186
|
+
}
|
|
187
|
+
public var paymentAmount: Swift.Double {
|
|
188
|
+
get
|
|
189
|
+
set
|
|
190
|
+
}
|
|
191
|
+
public var appleRequest: PassKit.PKPaymentRequest {
|
|
192
|
+
get
|
|
193
|
+
set
|
|
194
|
+
}
|
|
195
|
+
@objc public func build(paymentItems: [PassKit.PKPaymentSummaryItem] = [], paymentAmount: Swift.Double, currencyCode: Swift.String = "USD")
|
|
196
|
+
@objc override dynamic public init()
|
|
197
|
+
@objc deinit
|
|
198
|
+
}
|
|
199
|
+
@objc public enum PEApplePayResult : Swift.Int {
|
|
200
|
+
case success
|
|
201
|
+
case failure
|
|
202
|
+
public init?(rawValue: Swift.Int)
|
|
203
|
+
public typealias RawValue = Swift.Int
|
|
204
|
+
public var rawValue: Swift.Int {
|
|
205
|
+
get
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class FraudAnalyticsViewController : KountAnalyticsViewController {
|
|
209
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
|
210
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
211
|
+
@objc deinit
|
|
212
|
+
}
|
|
213
|
+
@_hasMissingDesignatedInitializers @objcMembers public class WebViewHelper {
|
|
214
|
+
@objc public static func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
215
|
+
@objc deinit
|
|
216
|
+
}
|
|
217
|
+
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
218
|
+
@objc public init(config: PEConfig)
|
|
219
|
+
@objc public static func setThemeMode(_ themMode: PEThemeMode)
|
|
220
|
+
@objc public func createComponent(name: Swift.String, props: [Swift.String : Swift.String]) -> PEComponent
|
|
221
|
+
@objc public func createSecureView(additionalFields: [PEField]?, completion: @escaping (ICardNumberView) -> Swift.Void)
|
|
222
|
+
@objc public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (IBankAccountView) -> Swift.Void)
|
|
223
|
+
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
224
|
+
@objc public func perform3DSFlow(view: UIKit.UIView, threeDSData: Swift.String, handler: @escaping (_ data: ThreeDSResult) -> Swift.Void)
|
|
225
|
+
@objc public func createFraudMonitorSession(merchantId: Swift.String, completion: @escaping (Swift.String) -> Swift.Void)
|
|
226
|
+
public func createFraudMonitorSession(_ merchantId: Swift.String, completion: @escaping (Swift.Result<Swift.String, any Swift.Error>) -> Swift.Void)
|
|
227
|
+
public func registerFraudMonitorBackgroundTask()
|
|
228
|
+
public func createSecureView(additionalFields: [PEField]?, completion: @escaping (Swift.Result<ICardNumberView, any Swift.Error>) -> Swift.Void)
|
|
229
|
+
public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (Swift.Result<IBankAccountView, any Swift.Error>) -> Swift.Void)
|
|
230
|
+
public func setupApplePay(merchantId: Swift.String, completion: @escaping (Swift.Result<PEApplePay, any Swift.Error>) -> Swift.Void)
|
|
231
|
+
public class func getCurrentVersionString() -> Swift.String?
|
|
232
|
+
@objc deinit
|
|
233
|
+
}
|
|
234
|
+
public struct SFSettingData : Swift.Codable {
|
|
235
|
+
public init(vault: Swift.String, environment: Swift.String, cname: Swift.String) throws
|
|
236
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
237
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
238
|
+
}
|
|
239
|
+
public enum PEKeyboardType {
|
|
240
|
+
case number
|
|
241
|
+
case alphabet
|
|
242
|
+
case phone
|
|
243
|
+
case normal
|
|
244
|
+
public static func == (a: PEKeyboardType, b: PEKeyboardType) -> Swift.Bool
|
|
245
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
246
|
+
public var hashValue: Swift.Int {
|
|
247
|
+
get
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
@objc public enum ApplePayPaymentNetwork : Swift.Int, Swift.RawRepresentable, Swift.CaseIterable {
|
|
251
|
+
public typealias AllCases = [ApplePayPaymentNetwork]
|
|
252
|
+
public static var allCases: ApplePayPaymentNetwork.AllCases {
|
|
253
|
+
get
|
|
254
|
+
}
|
|
255
|
+
case Amex
|
|
256
|
+
case CartesBancaires
|
|
257
|
+
case Discover
|
|
258
|
+
case Eftpos
|
|
259
|
+
case Electron
|
|
260
|
+
@available(iOS 12.1.1, *)
|
|
261
|
+
case Elo
|
|
262
|
+
case idCredit
|
|
263
|
+
case Interac
|
|
264
|
+
case JCB
|
|
265
|
+
@available(iOS 12.1.1, *)
|
|
266
|
+
case Mada
|
|
267
|
+
case Maestro
|
|
268
|
+
case MasterCard
|
|
269
|
+
case PrivateLabel
|
|
270
|
+
case QuicPay
|
|
271
|
+
case Suica
|
|
272
|
+
case Visa
|
|
273
|
+
case VPay
|
|
274
|
+
public init?(rawValue: Swift.String)
|
|
275
|
+
public init?(applePayNetwork: PassKit.PKPaymentNetwork)
|
|
276
|
+
public typealias RawValue = Swift.String
|
|
277
|
+
public var rawValue: ApplePayPaymentNetwork.RawValue {
|
|
278
|
+
get
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
@objc public protocol PEApplePayDelegate {
|
|
282
|
+
@objc func paymentError(error: any Swift.Error)
|
|
283
|
+
@objc func paymentSheetDidMDismiss()
|
|
284
|
+
@objc func paymentTokenDidReturn(token: Swift.String, completion: @escaping (PEApplePayResult) -> Swift.Void)
|
|
285
|
+
@objc func paymentTokenNotAvailable()
|
|
286
|
+
}
|
|
287
|
+
extension UIKit.UIView {
|
|
288
|
+
@_Concurrency.MainActor(unsafe) public func pinEdges(to view: UIKit.UIView)
|
|
289
|
+
}
|
|
290
|
+
extension UIKit.UIView {
|
|
291
|
+
@_Concurrency.MainActor(unsafe) public func pinEdgesTo(to other: UIKit.UIView)
|
|
292
|
+
}
|
|
293
|
+
public struct MobilePaymentDataResponse : Swift.Codable {
|
|
294
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
295
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
296
|
+
}
|
|
297
|
+
public struct MobilePaymentDataApplePayResponse : Swift.Codable {
|
|
298
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
299
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
300
|
+
}
|
|
301
|
+
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor(unsafe) public class ICardNumberView : UIKit.UIStackView {
|
|
302
|
+
@_Concurrency.MainActor(unsafe) public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
303
|
+
@_Concurrency.MainActor(unsafe) public func createCard(merchantId: Swift.String, completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
304
|
+
@_Concurrency.MainActor(unsafe) public func createCard(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
305
|
+
@objc @_Concurrency.MainActor(unsafe) public func createCard(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (PECard) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
306
|
+
@_Concurrency.MainActor(unsafe) public func validate() -> Swift.Bool
|
|
307
|
+
@_Concurrency.MainActor(unsafe) public func showKeyboard()
|
|
308
|
+
@_Concurrency.MainActor(unsafe) public func hideKeyboard()
|
|
309
|
+
@_Concurrency.MainActor(unsafe) public func detectSizeChanges(onChange: @escaping (CoreFoundation.CGSize) -> Swift.Void)
|
|
310
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
311
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init(coder: Foundation.NSCoder)
|
|
312
|
+
@objc deinit
|
|
313
|
+
}
|
|
314
|
+
extension PEThemeMode : Swift.Equatable {}
|
|
315
|
+
extension PEThemeMode : Swift.Hashable {}
|
|
316
|
+
extension PEThemeMode : Swift.RawRepresentable {}
|
|
317
|
+
extension ApplePayStatus : Swift.Equatable {}
|
|
318
|
+
extension ApplePayStatus : Swift.Hashable {}
|
|
319
|
+
extension ApplePayStatus : Swift.RawRepresentable {}
|
|
320
|
+
extension PEApplePayResult : Swift.Equatable {}
|
|
321
|
+
extension PEApplePayResult : Swift.Hashable {}
|
|
322
|
+
extension PEApplePayResult : Swift.RawRepresentable {}
|
|
323
|
+
extension PEKeyboardType : Swift.Equatable {}
|
|
324
|
+
extension PEKeyboardType : Swift.Hashable {}
|
|
325
|
+
extension ApplePayPaymentNetwork : Swift.Equatable {}
|
|
326
|
+
extension ApplePayPaymentNetwork : Swift.Hashable {}
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios12.4-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PayEngineSDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Foundation
|
|
6
|
+
import PassKit
|
|
7
|
+
@_exported import PayEngineSDK
|
|
8
|
+
import Swift
|
|
9
|
+
import SwiftUI
|
|
10
|
+
import UIKit
|
|
11
|
+
import WebKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
import _SwiftConcurrencyShims
|
|
15
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor(unsafe) public class PEComponent : UIKit.UIView, WebKit.WKScriptMessageHandler {
|
|
16
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToSuperview()
|
|
17
|
+
@objc @_Concurrency.MainActor(unsafe) public func setup(config: PayEngineSDK.PEConfig, componentName: Swift.String, props: [Swift.String : Swift.String])
|
|
18
|
+
@objc @_Concurrency.MainActor(unsafe) public func pinTo(view: UIKit.UIView)
|
|
19
|
+
@objc @_Concurrency.MainActor(unsafe) public func registerEvent(name: Swift.String, handler: @escaping (_ data: Swift.AnyObject) -> Swift.Void)
|
|
20
|
+
@objc @_Concurrency.MainActor(unsafe) public func removeEvent(name: Swift.String)
|
|
21
|
+
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
22
|
+
@objc deinit
|
|
23
|
+
}
|
|
24
|
+
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
25
|
+
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
26
|
+
@objc public func getBaseURL() -> Swift.String
|
|
27
|
+
@objc public func isProduction() -> Swift.Bool
|
|
28
|
+
@objc deinit
|
|
29
|
+
}
|
|
30
|
+
@objc public enum PEThemeMode : Swift.Int {
|
|
31
|
+
case system
|
|
32
|
+
case dark
|
|
33
|
+
case light
|
|
34
|
+
public init?(rawValue: Swift.Int)
|
|
35
|
+
public typealias RawValue = Swift.Int
|
|
36
|
+
public var rawValue: Swift.Int {
|
|
37
|
+
get
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor(unsafe) public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
+
@_Concurrency.MainActor(unsafe) public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
42
|
+
@_Concurrency.MainActor(unsafe) public func createBankAccount(merchantId: Swift.String, completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
|
+
@_Concurrency.MainActor(unsafe) public func createBankAccount(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
44
|
+
@objc @_Concurrency.MainActor(unsafe) public func createBankAccount(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (PayEngineSDK.PEBankAccount) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
45
|
+
@_Concurrency.MainActor(unsafe) public func validate() -> Swift.Bool
|
|
46
|
+
@_Concurrency.MainActor(unsafe) public func showKeyboard()
|
|
47
|
+
@_Concurrency.MainActor(unsafe) public func hideKeyboard()
|
|
48
|
+
@_Concurrency.MainActor(unsafe) public func detectSizeChanges(onChange: @escaping (CoreFoundation.CGSize) -> Swift.Void)
|
|
49
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
50
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init(coder: Foundation.NSCoder)
|
|
51
|
+
@objc deinit
|
|
52
|
+
}
|
|
53
|
+
@_hasMissingDesignatedInitializers @objc public class PEApplePay : ObjectiveC.NSObject {
|
|
54
|
+
@objc public var delegate: (any PayEngineSDK.PEApplePayDelegate)?
|
|
55
|
+
public func applePayStatus(for paymentNetworks: [PayEngineSDK.ApplePayPaymentNetwork] = []) -> PayEngineSDK.ApplePayStatus
|
|
56
|
+
@objc public func setupApplePayButton(for paymentRequest: PayEngineSDK.ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
57
|
+
@objc public func startApplePayPayment() throws
|
|
58
|
+
@objc public func startApplePaySetup()
|
|
59
|
+
@objc deinit
|
|
60
|
+
}
|
|
61
|
+
extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
62
|
+
@objc dynamic public func paymentAuthorizationViewControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationViewController)
|
|
63
|
+
@objc dynamic public func paymentAuthorizationViewController(_ controller: PassKit.PKPaymentAuthorizationViewController, didAuthorizePayment payment: PassKit.PKPayment, completion: @escaping (PassKit.PKPaymentAuthorizationStatus) -> Swift.Void)
|
|
64
|
+
}
|
|
65
|
+
@objc @objcMembers public class ThreeDSMessage : ObjectiveC.NSObject, Swift.Codable {
|
|
66
|
+
@objc public init(type: Swift.String, subtype: Swift.String, data: PayEngineSDK.ThreeDSResult?) throws
|
|
67
|
+
@objc deinit
|
|
68
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
69
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
70
|
+
}
|
|
71
|
+
@objc @objcMembers public class ThreeDSResult : ObjectiveC.NSObject, Swift.Codable {
|
|
72
|
+
@objc public var message: Swift.String?
|
|
73
|
+
@objc public var success: Swift.Bool
|
|
74
|
+
@objc public var transactionId: Swift.String?
|
|
75
|
+
@objc public init(message: Swift.String?, success: Swift.Bool, transactionId: Swift.String?) throws
|
|
76
|
+
@objc deinit
|
|
77
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
78
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
79
|
+
}
|
|
80
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor(unsafe) public class ThreeDSModal : UIKit.UIView, WebKit.WKNavigationDelegate, WebKit.WKScriptMessageHandler {
|
|
81
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
82
|
+
@objc @_Concurrency.MainActor(unsafe) public func setup(config: PayEngineSDK.PEConfig, threeDSData: Swift.String, handler: @escaping (_ data: PayEngineSDK.ThreeDSResult) -> Swift.Void)
|
|
83
|
+
@objc @_Concurrency.MainActor(unsafe) public func setupWebView()
|
|
84
|
+
@_Concurrency.MainActor(unsafe) @objc public func webView(_ webView: WebKit.WKWebView, decidePolicyFor navigationAction: WebKit.WKNavigationAction, decisionHandler: @escaping (WebKit.WKNavigationActionPolicy) -> Swift.Void)
|
|
85
|
+
@_Concurrency.MainActor(unsafe) @objc public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
|
|
86
|
+
@_Concurrency.MainActor(unsafe) @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
87
|
+
@objc deinit
|
|
88
|
+
}
|
|
89
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor(unsafe) public class PEPaymentView : PayEngineSDK.ICardNumberView {
|
|
90
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToSuperview()
|
|
91
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
92
|
+
@objc @_Concurrency.MainActor(unsafe) override public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
93
|
+
@objc @_Concurrency.MainActor(unsafe) override public func validate() -> Swift.Bool
|
|
94
|
+
@_Concurrency.MainActor(unsafe) override public func createCard(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
95
|
+
@objc @_Concurrency.MainActor(unsafe) override public func showKeyboard()
|
|
96
|
+
@objc deinit
|
|
97
|
+
}
|
|
98
|
+
@objc @objcMembers public class BankAccountResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
99
|
+
@objc public init(message: Swift.String, data: PayEngineSDK.PEBankAccount) throws
|
|
100
|
+
@objc deinit
|
|
101
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
102
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
103
|
+
}
|
|
104
|
+
@objc @objcMembers public class BankAccountData : ObjectiveC.NSObject, Swift.Codable {
|
|
105
|
+
@objc public var routingNumber: Swift.String
|
|
106
|
+
@objc public var last4: Swift.String
|
|
107
|
+
@objc public var firstName: Swift.String
|
|
108
|
+
@objc public var lastName: Swift.String
|
|
109
|
+
@objc public init(routingNumber: Swift.String, last4: Swift.String, firstName: Swift.String, lastName: Swift.String) throws
|
|
110
|
+
@objc deinit
|
|
111
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
112
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
113
|
+
}
|
|
114
|
+
@objc @objcMembers public class PEBankAccount : ObjectiveC.NSObject, Swift.Codable {
|
|
115
|
+
@objc public var token: Swift.String
|
|
116
|
+
@objc public var bankAccountData: PayEngineSDK.BankAccountData
|
|
117
|
+
@objc public init(token: Swift.String, bankAccountData: PayEngineSDK.BankAccountData) throws
|
|
118
|
+
@objc deinit
|
|
119
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
120
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
121
|
+
}
|
|
122
|
+
public struct KountSettingResponseData : Swift.Codable {
|
|
123
|
+
public init(enable_kount_integration: Swift.Bool, kount_client_id: Swift.String?, session_ID: Swift.String?) throws
|
|
124
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
125
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
126
|
+
}
|
|
127
|
+
@objc @objcMembers public class PEField : ObjectiveC.NSObject {
|
|
128
|
+
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PayEngineSDK.PEKeyboardType = .normal, pattern: Swift.String?)
|
|
129
|
+
@objc deinit
|
|
130
|
+
}
|
|
131
|
+
@objc @objcMembers public class CardResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
132
|
+
@objc public init(message: Swift.String, data: PayEngineSDK.PECard) throws
|
|
133
|
+
@objc deinit
|
|
134
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
135
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
136
|
+
}
|
|
137
|
+
@objc @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
138
|
+
@objc public var id: Swift.String
|
|
139
|
+
@objc public var brand: Swift.String
|
|
140
|
+
@objc public var last4: Swift.String
|
|
141
|
+
@objc public var expMonth: Swift.Int
|
|
142
|
+
@objc public var expYear: Swift.Int
|
|
143
|
+
@objc public var name: Swift.String
|
|
144
|
+
@objc public var addressZip: Swift.String?
|
|
145
|
+
@objc public init(id: Swift.String, brand: Swift.String, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, name: Swift.String, addressZip: Swift.String?) throws
|
|
146
|
+
@objc deinit
|
|
147
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
148
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
149
|
+
}
|
|
150
|
+
@objc @objcMembers public class PECard : ObjectiveC.NSObject, Swift.Codable {
|
|
151
|
+
@objc public var token: Swift.String
|
|
152
|
+
@objc public var cardData: PayEngineSDK.CardData
|
|
153
|
+
@objc public init(token: Swift.String, cardData: PayEngineSDK.CardData) throws
|
|
154
|
+
@objc deinit
|
|
155
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
156
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
157
|
+
}
|
|
158
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class PEBankAccountView : PayEngineSDK.IBankAccountView {
|
|
159
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToSuperview()
|
|
160
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
161
|
+
@_Concurrency.MainActor(unsafe) override public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
162
|
+
@_Concurrency.MainActor(unsafe) override public func validate() -> Swift.Bool
|
|
163
|
+
@_Concurrency.MainActor(unsafe) override public func createBankAccount(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
164
|
+
@_Concurrency.MainActor(unsafe) override public func showKeyboard()
|
|
165
|
+
@objc deinit
|
|
166
|
+
}
|
|
167
|
+
@objc public enum ApplePayStatus : Swift.Int {
|
|
168
|
+
case eligible
|
|
169
|
+
case needSetup
|
|
170
|
+
case notEligible
|
|
171
|
+
public func ApplePayStatusRawValue() -> Swift.String
|
|
172
|
+
public init?(rawValue: Swift.Int)
|
|
173
|
+
public typealias RawValue = Swift.Int
|
|
174
|
+
public var rawValue: Swift.Int {
|
|
175
|
+
get
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
179
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
180
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
181
|
+
}
|
|
182
|
+
@_inheritsConvenienceInitializers @objc public class ApplePayPaymentRequest : ObjectiveC.NSObject {
|
|
183
|
+
public var paymentItems: [PassKit.PKPaymentSummaryItem] {
|
|
184
|
+
get
|
|
185
|
+
set
|
|
186
|
+
}
|
|
187
|
+
public var paymentAmount: Swift.Double {
|
|
188
|
+
get
|
|
189
|
+
set
|
|
190
|
+
}
|
|
191
|
+
public var appleRequest: PassKit.PKPaymentRequest {
|
|
192
|
+
get
|
|
193
|
+
set
|
|
194
|
+
}
|
|
195
|
+
@objc public func build(paymentItems: [PassKit.PKPaymentSummaryItem] = [], paymentAmount: Swift.Double, currencyCode: Swift.String = "USD")
|
|
196
|
+
@objc override dynamic public init()
|
|
197
|
+
@objc deinit
|
|
198
|
+
}
|
|
199
|
+
@objc public enum PEApplePayResult : Swift.Int {
|
|
200
|
+
case success
|
|
201
|
+
case failure
|
|
202
|
+
public init?(rawValue: Swift.Int)
|
|
203
|
+
public typealias RawValue = Swift.Int
|
|
204
|
+
public var rawValue: Swift.Int {
|
|
205
|
+
get
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class FraudAnalyticsViewController : PayEngineSDK.KountAnalyticsViewController {
|
|
209
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
|
210
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
211
|
+
@objc deinit
|
|
212
|
+
}
|
|
213
|
+
@_hasMissingDesignatedInitializers @objcMembers public class WebViewHelper {
|
|
214
|
+
@objc public static func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
215
|
+
@objc deinit
|
|
216
|
+
}
|
|
217
|
+
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
218
|
+
@objc public init(config: PayEngineSDK.PEConfig)
|
|
219
|
+
@objc public static func setThemeMode(_ themMode: PayEngineSDK.PEThemeMode)
|
|
220
|
+
@objc public func createComponent(name: Swift.String, props: [Swift.String : Swift.String]) -> PayEngineSDK.PEComponent
|
|
221
|
+
@objc public func createSecureView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (PayEngineSDK.ICardNumberView) -> Swift.Void)
|
|
222
|
+
@objc public func createBankAccountView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (PayEngineSDK.IBankAccountView) -> Swift.Void)
|
|
223
|
+
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
224
|
+
@objc public func perform3DSFlow(view: UIKit.UIView, threeDSData: Swift.String, handler: @escaping (_ data: PayEngineSDK.ThreeDSResult) -> Swift.Void)
|
|
225
|
+
@objc public func createFraudMonitorSession(merchantId: Swift.String, completion: @escaping (Swift.String) -> Swift.Void)
|
|
226
|
+
public func createFraudMonitorSession(_ merchantId: Swift.String, completion: @escaping (Swift.Result<Swift.String, any Swift.Error>) -> Swift.Void)
|
|
227
|
+
public func registerFraudMonitorBackgroundTask()
|
|
228
|
+
public func createSecureView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (Swift.Result<PayEngineSDK.ICardNumberView, any Swift.Error>) -> Swift.Void)
|
|
229
|
+
public func createBankAccountView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (Swift.Result<PayEngineSDK.IBankAccountView, any Swift.Error>) -> Swift.Void)
|
|
230
|
+
public func setupApplePay(merchantId: Swift.String, completion: @escaping (Swift.Result<PayEngineSDK.PEApplePay, any Swift.Error>) -> Swift.Void)
|
|
231
|
+
public class func getCurrentVersionString() -> Swift.String?
|
|
232
|
+
@objc deinit
|
|
233
|
+
}
|
|
234
|
+
public struct SFSettingData : Swift.Codable {
|
|
235
|
+
public init(vault: Swift.String, environment: Swift.String, cname: Swift.String) throws
|
|
236
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
237
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
238
|
+
}
|
|
239
|
+
public enum PEKeyboardType {
|
|
240
|
+
case number
|
|
241
|
+
case alphabet
|
|
242
|
+
case phone
|
|
243
|
+
case normal
|
|
244
|
+
public static func == (a: PayEngineSDK.PEKeyboardType, b: PayEngineSDK.PEKeyboardType) -> Swift.Bool
|
|
245
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
246
|
+
public var hashValue: Swift.Int {
|
|
247
|
+
get
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
@objc public enum ApplePayPaymentNetwork : Swift.Int, Swift.RawRepresentable, Swift.CaseIterable {
|
|
251
|
+
public typealias AllCases = [PayEngineSDK.ApplePayPaymentNetwork]
|
|
252
|
+
public static var allCases: PayEngineSDK.ApplePayPaymentNetwork.AllCases {
|
|
253
|
+
get
|
|
254
|
+
}
|
|
255
|
+
case Amex
|
|
256
|
+
case CartesBancaires
|
|
257
|
+
case Discover
|
|
258
|
+
case Eftpos
|
|
259
|
+
case Electron
|
|
260
|
+
@available(iOS 12.1.1, *)
|
|
261
|
+
case Elo
|
|
262
|
+
case idCredit
|
|
263
|
+
case Interac
|
|
264
|
+
case JCB
|
|
265
|
+
@available(iOS 12.1.1, *)
|
|
266
|
+
case Mada
|
|
267
|
+
case Maestro
|
|
268
|
+
case MasterCard
|
|
269
|
+
case PrivateLabel
|
|
270
|
+
case QuicPay
|
|
271
|
+
case Suica
|
|
272
|
+
case Visa
|
|
273
|
+
case VPay
|
|
274
|
+
public init?(rawValue: Swift.String)
|
|
275
|
+
public init?(applePayNetwork: PassKit.PKPaymentNetwork)
|
|
276
|
+
public typealias RawValue = Swift.String
|
|
277
|
+
public var rawValue: PayEngineSDK.ApplePayPaymentNetwork.RawValue {
|
|
278
|
+
get
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
@objc public protocol PEApplePayDelegate {
|
|
282
|
+
@objc func paymentError(error: any Swift.Error)
|
|
283
|
+
@objc func paymentSheetDidMDismiss()
|
|
284
|
+
@objc func paymentTokenDidReturn(token: Swift.String, completion: @escaping (PayEngineSDK.PEApplePayResult) -> Swift.Void)
|
|
285
|
+
@objc func paymentTokenNotAvailable()
|
|
286
|
+
}
|
|
287
|
+
extension UIKit.UIView {
|
|
288
|
+
@_Concurrency.MainActor(unsafe) public func pinEdges(to view: UIKit.UIView)
|
|
289
|
+
}
|
|
290
|
+
extension UIKit.UIView {
|
|
291
|
+
@_Concurrency.MainActor(unsafe) public func pinEdgesTo(to other: UIKit.UIView)
|
|
292
|
+
}
|
|
293
|
+
public struct MobilePaymentDataResponse : Swift.Codable {
|
|
294
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
295
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
296
|
+
}
|
|
297
|
+
public struct MobilePaymentDataApplePayResponse : Swift.Codable {
|
|
298
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
299
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
300
|
+
}
|
|
301
|
+
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor(unsafe) public class ICardNumberView : UIKit.UIStackView {
|
|
302
|
+
@_Concurrency.MainActor(unsafe) public func setup(vaultId: Swift.String, env: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
303
|
+
@_Concurrency.MainActor(unsafe) public func createCard(merchantId: Swift.String, completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
304
|
+
@_Concurrency.MainActor(unsafe) public func createCard(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
305
|
+
@objc @_Concurrency.MainActor(unsafe) public func createCard(merchantId: Swift.String, additionalData: [Swift.String : Any], completion: @escaping (PayEngineSDK.PECard) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
306
|
+
@_Concurrency.MainActor(unsafe) public func validate() -> Swift.Bool
|
|
307
|
+
@_Concurrency.MainActor(unsafe) public func showKeyboard()
|
|
308
|
+
@_Concurrency.MainActor(unsafe) public func hideKeyboard()
|
|
309
|
+
@_Concurrency.MainActor(unsafe) public func detectSizeChanges(onChange: @escaping (CoreFoundation.CGSize) -> Swift.Void)
|
|
310
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
311
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init(coder: Foundation.NSCoder)
|
|
312
|
+
@objc deinit
|
|
313
|
+
}
|
|
314
|
+
extension PayEngineSDK.PEThemeMode : Swift.Equatable {}
|
|
315
|
+
extension PayEngineSDK.PEThemeMode : Swift.Hashable {}
|
|
316
|
+
extension PayEngineSDK.PEThemeMode : Swift.RawRepresentable {}
|
|
317
|
+
extension PayEngineSDK.ApplePayStatus : Swift.Equatable {}
|
|
318
|
+
extension PayEngineSDK.ApplePayStatus : Swift.Hashable {}
|
|
319
|
+
extension PayEngineSDK.ApplePayStatus : Swift.RawRepresentable {}
|
|
320
|
+
extension PayEngineSDK.PEApplePayResult : Swift.Equatable {}
|
|
321
|
+
extension PayEngineSDK.PEApplePayResult : Swift.Hashable {}
|
|
322
|
+
extension PayEngineSDK.PEApplePayResult : Swift.RawRepresentable {}
|
|
323
|
+
extension PayEngineSDK.PEKeyboardType : Swift.Equatable {}
|
|
324
|
+
extension PayEngineSDK.PEKeyboardType : Swift.Hashable {}
|
|
325
|
+
extension PayEngineSDK.ApplePayPaymentNetwork : Swift.Equatable {}
|
|
326
|
+
extension PayEngineSDK.ApplePayPaymentNetwork : Swift.Hashable {}
|