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,1240 @@
|
|
|
1
|
+
#if 0
|
|
2
|
+
#elif defined(__arm64__) && __arm64__
|
|
3
|
+
// Generated by Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
|
|
4
|
+
#ifndef PAYENGINESDK_SWIFT_H
|
|
5
|
+
#define PAYENGINESDK_SWIFT_H
|
|
6
|
+
#pragma clang diagnostic push
|
|
7
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
8
|
+
|
|
9
|
+
#if !defined(__has_include)
|
|
10
|
+
# define __has_include(x) 0
|
|
11
|
+
#endif
|
|
12
|
+
#if !defined(__has_attribute)
|
|
13
|
+
# define __has_attribute(x) 0
|
|
14
|
+
#endif
|
|
15
|
+
#if !defined(__has_feature)
|
|
16
|
+
# define __has_feature(x) 0
|
|
17
|
+
#endif
|
|
18
|
+
#if !defined(__has_warning)
|
|
19
|
+
# define __has_warning(x) 0
|
|
20
|
+
#endif
|
|
21
|
+
|
|
22
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
23
|
+
# include <swift/objc-prologue.h>
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
28
|
+
#include <Foundation/Foundation.h>
|
|
29
|
+
#endif
|
|
30
|
+
#if defined(__cplusplus)
|
|
31
|
+
#include <cstdint>
|
|
32
|
+
#include <cstddef>
|
|
33
|
+
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
38
|
+
#else
|
|
39
|
+
#include <stdint.h>
|
|
40
|
+
#include <stddef.h>
|
|
41
|
+
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
46
|
+
# include <ptrauth.h>
|
|
47
|
+
#else
|
|
48
|
+
#pragma clang diagnostic push
|
|
49
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
50
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
51
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
52
|
+
# endif
|
|
53
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
54
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
55
|
+
# endif
|
|
56
|
+
#pragma clang diagnostic pop
|
|
57
|
+
#endif
|
|
58
|
+
#endif
|
|
59
|
+
|
|
60
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
61
|
+
# define SWIFT_TYPEDEFS 1
|
|
62
|
+
# if __has_include(<uchar.h>)
|
|
63
|
+
# include <uchar.h>
|
|
64
|
+
# elif !defined(__cplusplus)
|
|
65
|
+
typedef uint_least16_t char16_t;
|
|
66
|
+
typedef uint_least32_t char32_t;
|
|
67
|
+
# endif
|
|
68
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
69
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
70
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
71
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
72
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
73
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
74
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
75
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
76
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
77
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
78
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
79
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
80
|
+
#endif
|
|
81
|
+
|
|
82
|
+
#if !defined(SWIFT_PASTE)
|
|
83
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
84
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
85
|
+
#endif
|
|
86
|
+
#if !defined(SWIFT_METATYPE)
|
|
87
|
+
# define SWIFT_METATYPE(X) Class
|
|
88
|
+
#endif
|
|
89
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
90
|
+
# if __has_feature(objc_class_property)
|
|
91
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
92
|
+
# else
|
|
93
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
94
|
+
# endif
|
|
95
|
+
#endif
|
|
96
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
97
|
+
# if __has_attribute(objc_runtime_name)
|
|
98
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
99
|
+
# else
|
|
100
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
101
|
+
# endif
|
|
102
|
+
#endif
|
|
103
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
104
|
+
# if __has_attribute(swift_name)
|
|
105
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
106
|
+
# else
|
|
107
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
108
|
+
# endif
|
|
109
|
+
#endif
|
|
110
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
111
|
+
# if __has_attribute(objc_method_family)
|
|
112
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
113
|
+
# else
|
|
114
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
115
|
+
# endif
|
|
116
|
+
#endif
|
|
117
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
118
|
+
# if __has_attribute(noescape)
|
|
119
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
120
|
+
# else
|
|
121
|
+
# define SWIFT_NOESCAPE
|
|
122
|
+
# endif
|
|
123
|
+
#endif
|
|
124
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
125
|
+
# if __has_attribute(ns_consumed)
|
|
126
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
127
|
+
# else
|
|
128
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
129
|
+
# endif
|
|
130
|
+
#endif
|
|
131
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
132
|
+
# if __has_attribute(warn_unused_result)
|
|
133
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
134
|
+
# else
|
|
135
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
136
|
+
# endif
|
|
137
|
+
#endif
|
|
138
|
+
#if !defined(SWIFT_NORETURN)
|
|
139
|
+
# if __has_attribute(noreturn)
|
|
140
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
141
|
+
# else
|
|
142
|
+
# define SWIFT_NORETURN
|
|
143
|
+
# endif
|
|
144
|
+
#endif
|
|
145
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
146
|
+
# define SWIFT_CLASS_EXTRA
|
|
147
|
+
#endif
|
|
148
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
149
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
150
|
+
#endif
|
|
151
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
152
|
+
# define SWIFT_ENUM_EXTRA
|
|
153
|
+
#endif
|
|
154
|
+
#if !defined(SWIFT_CLASS)
|
|
155
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
156
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
157
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
158
|
+
# else
|
|
159
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
160
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
161
|
+
# endif
|
|
162
|
+
#endif
|
|
163
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
164
|
+
# if __has_attribute(objc_class_stub)
|
|
165
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
166
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
167
|
+
# else
|
|
168
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
169
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
170
|
+
# endif
|
|
171
|
+
#endif
|
|
172
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
173
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
174
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
175
|
+
#endif
|
|
176
|
+
#if !defined(SWIFT_EXTENSION)
|
|
177
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
178
|
+
#endif
|
|
179
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
180
|
+
# if __has_attribute(objc_designated_initializer)
|
|
181
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
182
|
+
# else
|
|
183
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
184
|
+
# endif
|
|
185
|
+
#endif
|
|
186
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
187
|
+
# if __has_attribute(enum_extensibility)
|
|
188
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
189
|
+
# else
|
|
190
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
191
|
+
# endif
|
|
192
|
+
#endif
|
|
193
|
+
#if !defined(SWIFT_ENUM)
|
|
194
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
195
|
+
# if __has_feature(generalized_swift_name)
|
|
196
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
197
|
+
# else
|
|
198
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
199
|
+
# endif
|
|
200
|
+
#endif
|
|
201
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
202
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
203
|
+
#endif
|
|
204
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
205
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
206
|
+
#endif
|
|
207
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
208
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
209
|
+
#endif
|
|
210
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
211
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
212
|
+
#endif
|
|
213
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
214
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
215
|
+
#endif
|
|
216
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
217
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
218
|
+
#endif
|
|
219
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
220
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
221
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
222
|
+
# else
|
|
223
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
224
|
+
# endif
|
|
225
|
+
#endif
|
|
226
|
+
#if defined(__OBJC__)
|
|
227
|
+
#if !defined(IBSegueAction)
|
|
228
|
+
# define IBSegueAction
|
|
229
|
+
#endif
|
|
230
|
+
#endif
|
|
231
|
+
#if !defined(SWIFT_EXTERN)
|
|
232
|
+
# if defined(__cplusplus)
|
|
233
|
+
# define SWIFT_EXTERN extern "C"
|
|
234
|
+
# else
|
|
235
|
+
# define SWIFT_EXTERN extern
|
|
236
|
+
# endif
|
|
237
|
+
#endif
|
|
238
|
+
#if !defined(SWIFT_CALL)
|
|
239
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
240
|
+
#endif
|
|
241
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
242
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
243
|
+
#endif
|
|
244
|
+
#if !defined(SWIFT_CONTEXT)
|
|
245
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
246
|
+
#endif
|
|
247
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
248
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
249
|
+
#endif
|
|
250
|
+
#if defined(__cplusplus)
|
|
251
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
252
|
+
#else
|
|
253
|
+
# define SWIFT_NOEXCEPT
|
|
254
|
+
#endif
|
|
255
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
256
|
+
# if __has_attribute(always_inline)
|
|
257
|
+
# if __has_attribute(nodebug)
|
|
258
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
259
|
+
# else
|
|
260
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
261
|
+
# endif
|
|
262
|
+
# else
|
|
263
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
264
|
+
# endif
|
|
265
|
+
#endif
|
|
266
|
+
#if defined(_WIN32)
|
|
267
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
268
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
269
|
+
#endif
|
|
270
|
+
#else
|
|
271
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
272
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
273
|
+
#endif
|
|
274
|
+
#endif
|
|
275
|
+
#if defined(__OBJC__)
|
|
276
|
+
#if __has_feature(objc_modules)
|
|
277
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
278
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
279
|
+
#endif
|
|
280
|
+
@import CoreFoundation;
|
|
281
|
+
@import Foundation;
|
|
282
|
+
@import ObjectiveC;
|
|
283
|
+
@import PassKit;
|
|
284
|
+
@import UIKit;
|
|
285
|
+
@import WebKit;
|
|
286
|
+
#endif
|
|
287
|
+
|
|
288
|
+
#import <PayEngineSDK/PayEngineSDK.h>
|
|
289
|
+
|
|
290
|
+
#endif
|
|
291
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
292
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
293
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
294
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
295
|
+
#endif
|
|
296
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
297
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
298
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
299
|
+
|
|
300
|
+
#if __has_attribute(external_source_symbol)
|
|
301
|
+
# pragma push_macro("any")
|
|
302
|
+
# undef any
|
|
303
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PayEngineSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
304
|
+
# pragma pop_macro("any")
|
|
305
|
+
#endif
|
|
306
|
+
|
|
307
|
+
#if defined(__OBJC__)
|
|
308
|
+
typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
|
|
309
|
+
ApplePayPaymentNetworkAmex = 0,
|
|
310
|
+
ApplePayPaymentNetworkCartesBancaires = 1,
|
|
311
|
+
ApplePayPaymentNetworkDiscover = 2,
|
|
312
|
+
ApplePayPaymentNetworkEftpos = 3,
|
|
313
|
+
ApplePayPaymentNetworkElectron = 4,
|
|
314
|
+
ApplePayPaymentNetworkElo = 5,
|
|
315
|
+
ApplePayPaymentNetworkIdCredit = 6,
|
|
316
|
+
ApplePayPaymentNetworkInterac = 7,
|
|
317
|
+
ApplePayPaymentNetworkJCB = 8,
|
|
318
|
+
ApplePayPaymentNetworkMada = 9,
|
|
319
|
+
ApplePayPaymentNetworkMaestro = 10,
|
|
320
|
+
ApplePayPaymentNetworkMasterCard = 11,
|
|
321
|
+
ApplePayPaymentNetworkPrivateLabel = 12,
|
|
322
|
+
ApplePayPaymentNetworkQuicPay = 13,
|
|
323
|
+
ApplePayPaymentNetworkSuica = 14,
|
|
324
|
+
ApplePayPaymentNetworkVisa = 15,
|
|
325
|
+
ApplePayPaymentNetworkVPay = 16,
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
@class PKPaymentSummaryItem;
|
|
329
|
+
@class NSString;
|
|
330
|
+
|
|
331
|
+
SWIFT_CLASS("_TtC12PayEngineSDK22ApplePayPaymentRequest")
|
|
332
|
+
@interface ApplePayPaymentRequest : NSObject
|
|
333
|
+
/// Creates a Apple Pay request that can be used afterards to make an apple pay request
|
|
334
|
+
/// <ul>
|
|
335
|
+
/// <li>
|
|
336
|
+
/// </li>
|
|
337
|
+
/// </ul>
|
|
338
|
+
/// \param currencyCode The currency code the transaction has default .USD
|
|
339
|
+
///
|
|
340
|
+
/// \param var paymentItems What are the items you want to show in the apple pay sheet default []
|
|
341
|
+
///
|
|
342
|
+
/// \param paymentAmount The total amount you want to collect
|
|
343
|
+
///
|
|
344
|
+
- (void)buildWithPaymentItems:(NSArray<PKPaymentSummaryItem *> * _Nonnull)paymentItems paymentAmount:(double)paymentAmount currencyCode:(NSString * _Nonnull)currencyCode;
|
|
345
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
346
|
+
@end
|
|
347
|
+
|
|
348
|
+
typedef SWIFT_ENUM(NSInteger, ApplePayStatus, open) {
|
|
349
|
+
/// This means the current device/user has Apple pay activated and a card belongs to the given payment networks
|
|
350
|
+
ApplePayStatusEligible = 0,
|
|
351
|
+
/// This means the current device/user has Apple pay activated but has no card belongs to the given payment networks
|
|
352
|
+
ApplePayStatusNeedSetup = 1,
|
|
353
|
+
/// This means the current device/user cannot use Apple pay from Apple
|
|
354
|
+
ApplePayStatusNotEligible = 2,
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
SWIFT_CLASS("_TtC12PayEngineSDK15BankAccountData")
|
|
359
|
+
@interface BankAccountData : NSObject
|
|
360
|
+
@property (nonatomic, copy) NSString * _Nonnull routingNumber;
|
|
361
|
+
@property (nonatomic, copy) NSString * _Nonnull last4;
|
|
362
|
+
@property (nonatomic, copy) NSString * _Nonnull firstName;
|
|
363
|
+
@property (nonatomic, copy) NSString * _Nonnull lastName;
|
|
364
|
+
- (nullable instancetype)initWithRoutingNumber:(NSString * _Nonnull)routingNumber last4:(NSString * _Nonnull)last4 firstName:(NSString * _Nonnull)firstName lastName:(NSString * _Nonnull)lastName error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
365
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
366
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
367
|
+
@end
|
|
368
|
+
|
|
369
|
+
@class PEBankAccount;
|
|
370
|
+
|
|
371
|
+
SWIFT_CLASS("_TtC12PayEngineSDK19BankAccountResponse")
|
|
372
|
+
@interface BankAccountResponse : NSObject
|
|
373
|
+
- (nullable instancetype)initWithMessage:(NSString * _Nonnull)message data:(PEBankAccount * _Nonnull)data error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
374
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
375
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
376
|
+
@end
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
|
|
380
|
+
@interface CardData : NSObject
|
|
381
|
+
@property (nonatomic, copy) NSString * _Nonnull id;
|
|
382
|
+
@property (nonatomic, copy) NSString * _Nonnull brand;
|
|
383
|
+
@property (nonatomic, copy) NSString * _Nonnull last4;
|
|
384
|
+
@property (nonatomic) NSInteger expMonth;
|
|
385
|
+
@property (nonatomic) NSInteger expYear;
|
|
386
|
+
@property (nonatomic, copy) NSString * _Nonnull name;
|
|
387
|
+
@property (nonatomic, copy) NSString * _Nullable addressZip;
|
|
388
|
+
- (nullable instancetype)initWithId:(NSString * _Nonnull)id brand:(NSString * _Nonnull)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear name:(NSString * _Nonnull)name addressZip:(NSString * _Nullable)addressZip error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
389
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
390
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
391
|
+
@end
|
|
392
|
+
|
|
393
|
+
@class PECard;
|
|
394
|
+
|
|
395
|
+
SWIFT_CLASS("_TtC12PayEngineSDK12CardResponse")
|
|
396
|
+
@interface CardResponse : NSObject
|
|
397
|
+
- (nullable instancetype)initWithMessage:(NSString * _Nonnull)message data:(PECard * _Nonnull)data error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
398
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
399
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
400
|
+
@end
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
@class NSBundle;
|
|
404
|
+
@class NSCoder;
|
|
405
|
+
|
|
406
|
+
SWIFT_CLASS("_TtC12PayEngineSDK28FraudAnalyticsViewController")
|
|
407
|
+
@interface FraudAnalyticsViewController : KountAnalyticsViewController
|
|
408
|
+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
|
|
409
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
410
|
+
@end
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
SWIFT_CLASS("_TtC12PayEngineSDK16IBankAccountView")
|
|
414
|
+
@interface IBankAccountView : UIStackView
|
|
415
|
+
- (void)createBankAccountWithMerchantId:(NSString * _Nonnull)merchantId additionalData:(NSDictionary<NSString *, id> * _Nonnull)additionalData completion:(void (^ _Nonnull)(PEBankAccount * _Nonnull))completion failure:(void (^ _Nonnull)(NSError * _Nonnull))failure;
|
|
416
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
417
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
418
|
+
@end
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
SWIFT_CLASS("_TtC12PayEngineSDK15ICardNumberView")
|
|
422
|
+
@interface ICardNumberView : UIStackView
|
|
423
|
+
- (void)createCardWithMerchantId:(NSString * _Nonnull)merchantId additionalData:(NSDictionary<NSString *, id> * _Nonnull)additionalData completion:(void (^ _Nonnull)(PECard * _Nonnull))completion failure:(void (^ _Nonnull)(NSError * _Nonnull))failure;
|
|
424
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
425
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
426
|
+
@end
|
|
427
|
+
|
|
428
|
+
@protocol PEApplePayDelegate;
|
|
429
|
+
@class UIButton;
|
|
430
|
+
|
|
431
|
+
SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
|
|
432
|
+
@interface PEApplePay : NSObject
|
|
433
|
+
@property (nonatomic, strong) id <PEApplePayDelegate> _Nullable delegate;
|
|
434
|
+
- (UIButton * _Nullable)setupApplePayButtonFor:(ApplePayPaymentRequest * _Nonnull)paymentRequest type:(PKPaymentButtonType)type style:(PKPaymentButtonStyle)style SWIFT_WARN_UNUSED_RESULT;
|
|
435
|
+
- (BOOL)startApplePayPaymentAndReturnError:(NSError * _Nullable * _Nullable)error;
|
|
436
|
+
- (void)startApplePaySetup;
|
|
437
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
438
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
439
|
+
@end
|
|
440
|
+
|
|
441
|
+
@class PKPaymentAuthorizationViewController;
|
|
442
|
+
@class PKPayment;
|
|
443
|
+
|
|
444
|
+
@interface PEApplePay (SWIFT_EXTENSION(PayEngineSDK)) <PKPaymentAuthorizationViewControllerDelegate>
|
|
445
|
+
- (void)paymentAuthorizationViewControllerDidFinish:(PKPaymentAuthorizationViewController * _Nonnull)controller;
|
|
446
|
+
- (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(PKPaymentAuthorizationStatus))completion;
|
|
447
|
+
@end
|
|
448
|
+
|
|
449
|
+
enum PEApplePayResult : NSInteger;
|
|
450
|
+
|
|
451
|
+
SWIFT_PROTOCOL("_TtP12PayEngineSDK18PEApplePayDelegate_")
|
|
452
|
+
@protocol PEApplePayDelegate
|
|
453
|
+
- (void)paymentErrorWithError:(NSError * _Nonnull)error;
|
|
454
|
+
- (void)paymentSheetDidMDismiss;
|
|
455
|
+
- (void)paymentTokenDidReturnWithToken:(NSString * _Nonnull)token completion:(void (^ _Nonnull)(enum PEApplePayResult))completion;
|
|
456
|
+
- (void)paymentTokenNotAvailable;
|
|
457
|
+
@end
|
|
458
|
+
|
|
459
|
+
typedef SWIFT_ENUM(NSInteger, PEApplePayResult, open) {
|
|
460
|
+
PEApplePayResultSuccess = 0,
|
|
461
|
+
PEApplePayResultFailure = 1,
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
/// PayEngine Card object
|
|
466
|
+
SWIFT_CLASS("_TtC12PayEngineSDK13PEBankAccount")
|
|
467
|
+
@interface PEBankAccount : NSObject
|
|
468
|
+
@property (nonatomic, copy) NSString * _Nonnull token;
|
|
469
|
+
@property (nonatomic, strong) BankAccountData * _Nonnull bankAccountData;
|
|
470
|
+
- (nullable instancetype)initWithToken:(NSString * _Nonnull)token bankAccountData:(BankAccountData * _Nonnull)bankAccountData error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
471
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
472
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
473
|
+
@end
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
SWIFT_CLASS("_TtC12PayEngineSDK17PEBankAccountView")
|
|
477
|
+
@interface PEBankAccountView : IBankAccountView
|
|
478
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
479
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
480
|
+
- (void)didMoveToSuperview;
|
|
481
|
+
- (void)layoutSubviews;
|
|
482
|
+
@end
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/// PayEngine Card object
|
|
486
|
+
SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
|
|
487
|
+
@interface PECard : NSObject
|
|
488
|
+
@property (nonatomic, copy) NSString * _Nonnull token;
|
|
489
|
+
@property (nonatomic, strong) CardData * _Nonnull cardData;
|
|
490
|
+
- (nullable instancetype)initWithToken:(NSString * _Nonnull)token cardData:(CardData * _Nonnull)cardData error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
491
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
492
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
493
|
+
@end
|
|
494
|
+
|
|
495
|
+
@class PEConfig;
|
|
496
|
+
@class WKUserContentController;
|
|
497
|
+
@class WKScriptMessage;
|
|
498
|
+
|
|
499
|
+
/// PEComponent
|
|
500
|
+
SWIFT_CLASS("_TtC12PayEngineSDK11PEComponent")
|
|
501
|
+
@interface PEComponent : UIView <WKScriptMessageHandler>
|
|
502
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
503
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
504
|
+
- (void)didMoveToSuperview;
|
|
505
|
+
- (void)setupWithConfig:(PEConfig * _Nonnull)config componentName:(NSString * _Nonnull)componentName props:(NSDictionary<NSString *, NSString *> * _Nonnull)props;
|
|
506
|
+
- (void)pinToView:(UIView * _Nonnull)view;
|
|
507
|
+
- (void)registerEventWithName:(NSString * _Nonnull)name handler:(void (^ _Nonnull)(id _Nonnull))handler;
|
|
508
|
+
- (void)removeEventWithName:(NSString * _Nonnull)name;
|
|
509
|
+
- (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message;
|
|
510
|
+
@end
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
/// PayEngine configuration
|
|
514
|
+
SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
|
|
515
|
+
@interface PEConfig : NSObject
|
|
516
|
+
- (nonnull instancetype)initWithPublicKey:(NSString * _Nonnull)publicKey baseURL:(NSString * _Nullable)baseURL OBJC_DESIGNATED_INITIALIZER;
|
|
517
|
+
- (NSString * _Nonnull)getBaseURL SWIFT_WARN_UNUSED_RESULT;
|
|
518
|
+
- (BOOL)isProduction SWIFT_WARN_UNUSED_RESULT;
|
|
519
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
520
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
521
|
+
@end
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
SWIFT_CLASS("_TtC12PayEngineSDK7PEField")
|
|
525
|
+
@interface PEField : NSObject
|
|
526
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
527
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
528
|
+
@end
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
/// PEPaymentView
|
|
532
|
+
SWIFT_CLASS("_TtC12PayEngineSDK13PEPaymentView")
|
|
533
|
+
@interface PEPaymentView : ICardNumberView
|
|
534
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
535
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
536
|
+
- (void)didMoveToSuperview;
|
|
537
|
+
- (void)layoutSubviews;
|
|
538
|
+
- (void)setupWithVaultId:(NSString * _Nonnull)vaultId env:(NSString * _Nonnull)env publicKey:(NSString * _Nonnull)publicKey additionalFields:(NSArray<PEField *> * _Nonnull)additionalFields;
|
|
539
|
+
- (BOOL)validate SWIFT_WARN_UNUSED_RESULT;
|
|
540
|
+
- (void)showKeyboard;
|
|
541
|
+
@end
|
|
542
|
+
|
|
543
|
+
typedef SWIFT_ENUM(NSInteger, PEThemeMode, open) {
|
|
544
|
+
PEThemeModeSystem = 0,
|
|
545
|
+
PEThemeModeDark = 1,
|
|
546
|
+
PEThemeModeLight = 2,
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
@class ThreeDSResult;
|
|
550
|
+
|
|
551
|
+
/// PayEngine Main Class
|
|
552
|
+
SWIFT_CLASS("_TtC12PayEngineSDK9PayEngine")
|
|
553
|
+
@interface PayEngine : NSObject
|
|
554
|
+
/// Constructor
|
|
555
|
+
/// \param config PayEngine configuration
|
|
556
|
+
///
|
|
557
|
+
- (nonnull instancetype)initWithConfig:(PEConfig * _Nonnull)config OBJC_DESIGNATED_INITIALIZER;
|
|
558
|
+
+ (void)setThemeMode:(enum PEThemeMode)themMode;
|
|
559
|
+
- (PEComponent * _Nonnull)createComponentWithName:(NSString * _Nonnull)name props:(NSDictionary<NSString *, NSString *> * _Nonnull)props SWIFT_WARN_UNUSED_RESULT;
|
|
560
|
+
- (void)createSecureViewWithAdditionalFields:(NSArray<PEField *> * _Nullable)additionalFields completion:(void (^ _Nonnull)(ICardNumberView * _Nonnull))completion;
|
|
561
|
+
- (void)createBankAccountViewWithAdditionalFields:(NSArray<PEField *> * _Nullable)additionalFields completion:(void (^ _Nonnull)(IBankAccountView * _Nonnull))completion;
|
|
562
|
+
- (void)getBrowserInfoWithView:(UIView * _Nonnull)view handler:(void (^ _Nonnull)(NSString * _Nonnull))handler;
|
|
563
|
+
- (void)perform3DSFlowWithView:(UIView * _Nonnull)view threeDSData:(NSString * _Nonnull)threeDSData handler:(void (^ _Nonnull)(ThreeDSResult * _Nonnull))handler;
|
|
564
|
+
- (void)createFraudMonitorSessionWithMerchantId:(NSString * _Nonnull)merchantId completion:(void (^ _Nonnull)(NSString * _Nonnull))completion;
|
|
565
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
566
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
567
|
+
@end
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
SWIFT_CLASS("_TtC12PayEngineSDK14ThreeDSMessage")
|
|
571
|
+
@interface ThreeDSMessage : NSObject
|
|
572
|
+
- (nullable instancetype)initWithType:(NSString * _Nonnull)type subtype:(NSString * _Nonnull)subtype data:(ThreeDSResult * _Nullable)data error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
573
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
574
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
575
|
+
@end
|
|
576
|
+
|
|
577
|
+
@class WKWebView;
|
|
578
|
+
@class WKNavigationAction;
|
|
579
|
+
@class WKNavigation;
|
|
580
|
+
|
|
581
|
+
SWIFT_CLASS("_TtC12PayEngineSDK12ThreeDSModal")
|
|
582
|
+
@interface ThreeDSModal : UIView <WKNavigationDelegate, WKScriptMessageHandler>
|
|
583
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
584
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
585
|
+
- (void)setupWithConfig:(PEConfig * _Nonnull)config threeDSData:(NSString * _Nonnull)threeDSData handler:(void (^ _Nonnull)(ThreeDSResult * _Nonnull))handler;
|
|
586
|
+
- (void)setupWebView;
|
|
587
|
+
- (void)webView:(WKWebView * _Nonnull)webView decidePolicyForNavigationAction:(WKNavigationAction * _Nonnull)navigationAction decisionHandler:(void (^ _Nonnull)(WKNavigationActionPolicy))decisionHandler;
|
|
588
|
+
- (void)webView:(WKWebView * _Nonnull)webView didFinishNavigation:(WKNavigation * _Null_unspecified)navigation;
|
|
589
|
+
- (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message;
|
|
590
|
+
@end
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
|
|
594
|
+
@interface ThreeDSResult : NSObject
|
|
595
|
+
@property (nonatomic, copy) NSString * _Nullable message;
|
|
596
|
+
@property (nonatomic) BOOL success;
|
|
597
|
+
@property (nonatomic, copy) NSString * _Nullable transactionId;
|
|
598
|
+
- (nullable instancetype)initWithMessage:(NSString * _Nullable)message success:(BOOL)success transactionId:(NSString * _Nullable)transactionId error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
599
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
600
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
601
|
+
@end
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
#endif
|
|
612
|
+
#if __has_attribute(external_source_symbol)
|
|
613
|
+
# pragma clang attribute pop
|
|
614
|
+
#endif
|
|
615
|
+
#if defined(__cplusplus)
|
|
616
|
+
#endif
|
|
617
|
+
#pragma clang diagnostic pop
|
|
618
|
+
#endif
|
|
619
|
+
|
|
620
|
+
#elif defined(__x86_64__) && __x86_64__
|
|
621
|
+
// Generated by Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
|
|
622
|
+
#ifndef PAYENGINESDK_SWIFT_H
|
|
623
|
+
#define PAYENGINESDK_SWIFT_H
|
|
624
|
+
#pragma clang diagnostic push
|
|
625
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
626
|
+
|
|
627
|
+
#if !defined(__has_include)
|
|
628
|
+
# define __has_include(x) 0
|
|
629
|
+
#endif
|
|
630
|
+
#if !defined(__has_attribute)
|
|
631
|
+
# define __has_attribute(x) 0
|
|
632
|
+
#endif
|
|
633
|
+
#if !defined(__has_feature)
|
|
634
|
+
# define __has_feature(x) 0
|
|
635
|
+
#endif
|
|
636
|
+
#if !defined(__has_warning)
|
|
637
|
+
# define __has_warning(x) 0
|
|
638
|
+
#endif
|
|
639
|
+
|
|
640
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
641
|
+
# include <swift/objc-prologue.h>
|
|
642
|
+
#endif
|
|
643
|
+
|
|
644
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
645
|
+
#if defined(__OBJC__)
|
|
646
|
+
#include <Foundation/Foundation.h>
|
|
647
|
+
#endif
|
|
648
|
+
#if defined(__cplusplus)
|
|
649
|
+
#include <cstdint>
|
|
650
|
+
#include <cstddef>
|
|
651
|
+
#include <cstdbool>
|
|
652
|
+
#include <cstring>
|
|
653
|
+
#include <stdlib.h>
|
|
654
|
+
#include <new>
|
|
655
|
+
#include <type_traits>
|
|
656
|
+
#else
|
|
657
|
+
#include <stdint.h>
|
|
658
|
+
#include <stddef.h>
|
|
659
|
+
#include <stdbool.h>
|
|
660
|
+
#include <string.h>
|
|
661
|
+
#endif
|
|
662
|
+
#if defined(__cplusplus)
|
|
663
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
664
|
+
# include <ptrauth.h>
|
|
665
|
+
#else
|
|
666
|
+
#pragma clang diagnostic push
|
|
667
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
668
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
669
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
670
|
+
# endif
|
|
671
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
672
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
673
|
+
# endif
|
|
674
|
+
#pragma clang diagnostic pop
|
|
675
|
+
#endif
|
|
676
|
+
#endif
|
|
677
|
+
|
|
678
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
679
|
+
# define SWIFT_TYPEDEFS 1
|
|
680
|
+
# if __has_include(<uchar.h>)
|
|
681
|
+
# include <uchar.h>
|
|
682
|
+
# elif !defined(__cplusplus)
|
|
683
|
+
typedef uint_least16_t char16_t;
|
|
684
|
+
typedef uint_least32_t char32_t;
|
|
685
|
+
# endif
|
|
686
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
687
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
688
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
689
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
690
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
691
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
692
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
693
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
694
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
695
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
696
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
697
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
698
|
+
#endif
|
|
699
|
+
|
|
700
|
+
#if !defined(SWIFT_PASTE)
|
|
701
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
702
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
703
|
+
#endif
|
|
704
|
+
#if !defined(SWIFT_METATYPE)
|
|
705
|
+
# define SWIFT_METATYPE(X) Class
|
|
706
|
+
#endif
|
|
707
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
708
|
+
# if __has_feature(objc_class_property)
|
|
709
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
710
|
+
# else
|
|
711
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
712
|
+
# endif
|
|
713
|
+
#endif
|
|
714
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
715
|
+
# if __has_attribute(objc_runtime_name)
|
|
716
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
717
|
+
# else
|
|
718
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
719
|
+
# endif
|
|
720
|
+
#endif
|
|
721
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
722
|
+
# if __has_attribute(swift_name)
|
|
723
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
724
|
+
# else
|
|
725
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
726
|
+
# endif
|
|
727
|
+
#endif
|
|
728
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
729
|
+
# if __has_attribute(objc_method_family)
|
|
730
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
731
|
+
# else
|
|
732
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
733
|
+
# endif
|
|
734
|
+
#endif
|
|
735
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
736
|
+
# if __has_attribute(noescape)
|
|
737
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
738
|
+
# else
|
|
739
|
+
# define SWIFT_NOESCAPE
|
|
740
|
+
# endif
|
|
741
|
+
#endif
|
|
742
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
743
|
+
# if __has_attribute(ns_consumed)
|
|
744
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
745
|
+
# else
|
|
746
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
747
|
+
# endif
|
|
748
|
+
#endif
|
|
749
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
750
|
+
# if __has_attribute(warn_unused_result)
|
|
751
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
752
|
+
# else
|
|
753
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
754
|
+
# endif
|
|
755
|
+
#endif
|
|
756
|
+
#if !defined(SWIFT_NORETURN)
|
|
757
|
+
# if __has_attribute(noreturn)
|
|
758
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
759
|
+
# else
|
|
760
|
+
# define SWIFT_NORETURN
|
|
761
|
+
# endif
|
|
762
|
+
#endif
|
|
763
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
764
|
+
# define SWIFT_CLASS_EXTRA
|
|
765
|
+
#endif
|
|
766
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
767
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
768
|
+
#endif
|
|
769
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
770
|
+
# define SWIFT_ENUM_EXTRA
|
|
771
|
+
#endif
|
|
772
|
+
#if !defined(SWIFT_CLASS)
|
|
773
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
774
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
775
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
776
|
+
# else
|
|
777
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
778
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
779
|
+
# endif
|
|
780
|
+
#endif
|
|
781
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
782
|
+
# if __has_attribute(objc_class_stub)
|
|
783
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
784
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
785
|
+
# else
|
|
786
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
787
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
788
|
+
# endif
|
|
789
|
+
#endif
|
|
790
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
791
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
792
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
793
|
+
#endif
|
|
794
|
+
#if !defined(SWIFT_EXTENSION)
|
|
795
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
796
|
+
#endif
|
|
797
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
798
|
+
# if __has_attribute(objc_designated_initializer)
|
|
799
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
800
|
+
# else
|
|
801
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
802
|
+
# endif
|
|
803
|
+
#endif
|
|
804
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
805
|
+
# if __has_attribute(enum_extensibility)
|
|
806
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
807
|
+
# else
|
|
808
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
809
|
+
# endif
|
|
810
|
+
#endif
|
|
811
|
+
#if !defined(SWIFT_ENUM)
|
|
812
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
813
|
+
# if __has_feature(generalized_swift_name)
|
|
814
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
815
|
+
# else
|
|
816
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
817
|
+
# endif
|
|
818
|
+
#endif
|
|
819
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
820
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
821
|
+
#endif
|
|
822
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
823
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
824
|
+
#endif
|
|
825
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
826
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
827
|
+
#endif
|
|
828
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
829
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
830
|
+
#endif
|
|
831
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
832
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
833
|
+
#endif
|
|
834
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
835
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
836
|
+
#endif
|
|
837
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
838
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
839
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
840
|
+
# else
|
|
841
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
842
|
+
# endif
|
|
843
|
+
#endif
|
|
844
|
+
#if defined(__OBJC__)
|
|
845
|
+
#if !defined(IBSegueAction)
|
|
846
|
+
# define IBSegueAction
|
|
847
|
+
#endif
|
|
848
|
+
#endif
|
|
849
|
+
#if !defined(SWIFT_EXTERN)
|
|
850
|
+
# if defined(__cplusplus)
|
|
851
|
+
# define SWIFT_EXTERN extern "C"
|
|
852
|
+
# else
|
|
853
|
+
# define SWIFT_EXTERN extern
|
|
854
|
+
# endif
|
|
855
|
+
#endif
|
|
856
|
+
#if !defined(SWIFT_CALL)
|
|
857
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
858
|
+
#endif
|
|
859
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
860
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
861
|
+
#endif
|
|
862
|
+
#if !defined(SWIFT_CONTEXT)
|
|
863
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
864
|
+
#endif
|
|
865
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
866
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
867
|
+
#endif
|
|
868
|
+
#if defined(__cplusplus)
|
|
869
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
870
|
+
#else
|
|
871
|
+
# define SWIFT_NOEXCEPT
|
|
872
|
+
#endif
|
|
873
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
874
|
+
# if __has_attribute(always_inline)
|
|
875
|
+
# if __has_attribute(nodebug)
|
|
876
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
877
|
+
# else
|
|
878
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
879
|
+
# endif
|
|
880
|
+
# else
|
|
881
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
882
|
+
# endif
|
|
883
|
+
#endif
|
|
884
|
+
#if defined(_WIN32)
|
|
885
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
886
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
887
|
+
#endif
|
|
888
|
+
#else
|
|
889
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
890
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
891
|
+
#endif
|
|
892
|
+
#endif
|
|
893
|
+
#if defined(__OBJC__)
|
|
894
|
+
#if __has_feature(objc_modules)
|
|
895
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
896
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
897
|
+
#endif
|
|
898
|
+
@import CoreFoundation;
|
|
899
|
+
@import Foundation;
|
|
900
|
+
@import ObjectiveC;
|
|
901
|
+
@import PassKit;
|
|
902
|
+
@import UIKit;
|
|
903
|
+
@import WebKit;
|
|
904
|
+
#endif
|
|
905
|
+
|
|
906
|
+
#import <PayEngineSDK/PayEngineSDK.h>
|
|
907
|
+
|
|
908
|
+
#endif
|
|
909
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
910
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
911
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
912
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
913
|
+
#endif
|
|
914
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
915
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
916
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
917
|
+
|
|
918
|
+
#if __has_attribute(external_source_symbol)
|
|
919
|
+
# pragma push_macro("any")
|
|
920
|
+
# undef any
|
|
921
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PayEngineSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
922
|
+
# pragma pop_macro("any")
|
|
923
|
+
#endif
|
|
924
|
+
|
|
925
|
+
#if defined(__OBJC__)
|
|
926
|
+
typedef SWIFT_ENUM(NSInteger, ApplePayPaymentNetwork, open) {
|
|
927
|
+
ApplePayPaymentNetworkAmex = 0,
|
|
928
|
+
ApplePayPaymentNetworkCartesBancaires = 1,
|
|
929
|
+
ApplePayPaymentNetworkDiscover = 2,
|
|
930
|
+
ApplePayPaymentNetworkEftpos = 3,
|
|
931
|
+
ApplePayPaymentNetworkElectron = 4,
|
|
932
|
+
ApplePayPaymentNetworkElo = 5,
|
|
933
|
+
ApplePayPaymentNetworkIdCredit = 6,
|
|
934
|
+
ApplePayPaymentNetworkInterac = 7,
|
|
935
|
+
ApplePayPaymentNetworkJCB = 8,
|
|
936
|
+
ApplePayPaymentNetworkMada = 9,
|
|
937
|
+
ApplePayPaymentNetworkMaestro = 10,
|
|
938
|
+
ApplePayPaymentNetworkMasterCard = 11,
|
|
939
|
+
ApplePayPaymentNetworkPrivateLabel = 12,
|
|
940
|
+
ApplePayPaymentNetworkQuicPay = 13,
|
|
941
|
+
ApplePayPaymentNetworkSuica = 14,
|
|
942
|
+
ApplePayPaymentNetworkVisa = 15,
|
|
943
|
+
ApplePayPaymentNetworkVPay = 16,
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
@class PKPaymentSummaryItem;
|
|
947
|
+
@class NSString;
|
|
948
|
+
|
|
949
|
+
SWIFT_CLASS("_TtC12PayEngineSDK22ApplePayPaymentRequest")
|
|
950
|
+
@interface ApplePayPaymentRequest : NSObject
|
|
951
|
+
/// Creates a Apple Pay request that can be used afterards to make an apple pay request
|
|
952
|
+
/// <ul>
|
|
953
|
+
/// <li>
|
|
954
|
+
/// </li>
|
|
955
|
+
/// </ul>
|
|
956
|
+
/// \param currencyCode The currency code the transaction has default .USD
|
|
957
|
+
///
|
|
958
|
+
/// \param var paymentItems What are the items you want to show in the apple pay sheet default []
|
|
959
|
+
///
|
|
960
|
+
/// \param paymentAmount The total amount you want to collect
|
|
961
|
+
///
|
|
962
|
+
- (void)buildWithPaymentItems:(NSArray<PKPaymentSummaryItem *> * _Nonnull)paymentItems paymentAmount:(double)paymentAmount currencyCode:(NSString * _Nonnull)currencyCode;
|
|
963
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
964
|
+
@end
|
|
965
|
+
|
|
966
|
+
typedef SWIFT_ENUM(NSInteger, ApplePayStatus, open) {
|
|
967
|
+
/// This means the current device/user has Apple pay activated and a card belongs to the given payment networks
|
|
968
|
+
ApplePayStatusEligible = 0,
|
|
969
|
+
/// This means the current device/user has Apple pay activated but has no card belongs to the given payment networks
|
|
970
|
+
ApplePayStatusNeedSetup = 1,
|
|
971
|
+
/// This means the current device/user cannot use Apple pay from Apple
|
|
972
|
+
ApplePayStatusNotEligible = 2,
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
SWIFT_CLASS("_TtC12PayEngineSDK15BankAccountData")
|
|
977
|
+
@interface BankAccountData : NSObject
|
|
978
|
+
@property (nonatomic, copy) NSString * _Nonnull routingNumber;
|
|
979
|
+
@property (nonatomic, copy) NSString * _Nonnull last4;
|
|
980
|
+
@property (nonatomic, copy) NSString * _Nonnull firstName;
|
|
981
|
+
@property (nonatomic, copy) NSString * _Nonnull lastName;
|
|
982
|
+
- (nullable instancetype)initWithRoutingNumber:(NSString * _Nonnull)routingNumber last4:(NSString * _Nonnull)last4 firstName:(NSString * _Nonnull)firstName lastName:(NSString * _Nonnull)lastName error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
983
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
984
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
985
|
+
@end
|
|
986
|
+
|
|
987
|
+
@class PEBankAccount;
|
|
988
|
+
|
|
989
|
+
SWIFT_CLASS("_TtC12PayEngineSDK19BankAccountResponse")
|
|
990
|
+
@interface BankAccountResponse : NSObject
|
|
991
|
+
- (nullable instancetype)initWithMessage:(NSString * _Nonnull)message data:(PEBankAccount * _Nonnull)data error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
992
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
993
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
994
|
+
@end
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
SWIFT_CLASS("_TtC12PayEngineSDK8CardData")
|
|
998
|
+
@interface CardData : NSObject
|
|
999
|
+
@property (nonatomic, copy) NSString * _Nonnull id;
|
|
1000
|
+
@property (nonatomic, copy) NSString * _Nonnull brand;
|
|
1001
|
+
@property (nonatomic, copy) NSString * _Nonnull last4;
|
|
1002
|
+
@property (nonatomic) NSInteger expMonth;
|
|
1003
|
+
@property (nonatomic) NSInteger expYear;
|
|
1004
|
+
@property (nonatomic, copy) NSString * _Nonnull name;
|
|
1005
|
+
@property (nonatomic, copy) NSString * _Nullable addressZip;
|
|
1006
|
+
- (nullable instancetype)initWithId:(NSString * _Nonnull)id brand:(NSString * _Nonnull)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear name:(NSString * _Nonnull)name addressZip:(NSString * _Nullable)addressZip error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
1007
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1008
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1009
|
+
@end
|
|
1010
|
+
|
|
1011
|
+
@class PECard;
|
|
1012
|
+
|
|
1013
|
+
SWIFT_CLASS("_TtC12PayEngineSDK12CardResponse")
|
|
1014
|
+
@interface CardResponse : NSObject
|
|
1015
|
+
- (nullable instancetype)initWithMessage:(NSString * _Nonnull)message data:(PECard * _Nonnull)data error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
1016
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1017
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1018
|
+
@end
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
@class NSBundle;
|
|
1022
|
+
@class NSCoder;
|
|
1023
|
+
|
|
1024
|
+
SWIFT_CLASS("_TtC12PayEngineSDK28FraudAnalyticsViewController")
|
|
1025
|
+
@interface FraudAnalyticsViewController : KountAnalyticsViewController
|
|
1026
|
+
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
|
|
1027
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
1028
|
+
@end
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
SWIFT_CLASS("_TtC12PayEngineSDK16IBankAccountView")
|
|
1032
|
+
@interface IBankAccountView : UIStackView
|
|
1033
|
+
- (void)createBankAccountWithMerchantId:(NSString * _Nonnull)merchantId additionalData:(NSDictionary<NSString *, id> * _Nonnull)additionalData completion:(void (^ _Nonnull)(PEBankAccount * _Nonnull))completion failure:(void (^ _Nonnull)(NSError * _Nonnull))failure;
|
|
1034
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
1035
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
1036
|
+
@end
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
SWIFT_CLASS("_TtC12PayEngineSDK15ICardNumberView")
|
|
1040
|
+
@interface ICardNumberView : UIStackView
|
|
1041
|
+
- (void)createCardWithMerchantId:(NSString * _Nonnull)merchantId additionalData:(NSDictionary<NSString *, id> * _Nonnull)additionalData completion:(void (^ _Nonnull)(PECard * _Nonnull))completion failure:(void (^ _Nonnull)(NSError * _Nonnull))failure;
|
|
1042
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
1043
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
|
|
1044
|
+
@end
|
|
1045
|
+
|
|
1046
|
+
@protocol PEApplePayDelegate;
|
|
1047
|
+
@class UIButton;
|
|
1048
|
+
|
|
1049
|
+
SWIFT_CLASS("_TtC12PayEngineSDK10PEApplePay")
|
|
1050
|
+
@interface PEApplePay : NSObject
|
|
1051
|
+
@property (nonatomic, strong) id <PEApplePayDelegate> _Nullable delegate;
|
|
1052
|
+
- (UIButton * _Nullable)setupApplePayButtonFor:(ApplePayPaymentRequest * _Nonnull)paymentRequest type:(PKPaymentButtonType)type style:(PKPaymentButtonStyle)style SWIFT_WARN_UNUSED_RESULT;
|
|
1053
|
+
- (BOOL)startApplePayPaymentAndReturnError:(NSError * _Nullable * _Nullable)error;
|
|
1054
|
+
- (void)startApplePaySetup;
|
|
1055
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1056
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1057
|
+
@end
|
|
1058
|
+
|
|
1059
|
+
@class PKPaymentAuthorizationViewController;
|
|
1060
|
+
@class PKPayment;
|
|
1061
|
+
|
|
1062
|
+
@interface PEApplePay (SWIFT_EXTENSION(PayEngineSDK)) <PKPaymentAuthorizationViewControllerDelegate>
|
|
1063
|
+
- (void)paymentAuthorizationViewControllerDidFinish:(PKPaymentAuthorizationViewController * _Nonnull)controller;
|
|
1064
|
+
- (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(PKPaymentAuthorizationStatus))completion;
|
|
1065
|
+
@end
|
|
1066
|
+
|
|
1067
|
+
enum PEApplePayResult : NSInteger;
|
|
1068
|
+
|
|
1069
|
+
SWIFT_PROTOCOL("_TtP12PayEngineSDK18PEApplePayDelegate_")
|
|
1070
|
+
@protocol PEApplePayDelegate
|
|
1071
|
+
- (void)paymentErrorWithError:(NSError * _Nonnull)error;
|
|
1072
|
+
- (void)paymentSheetDidMDismiss;
|
|
1073
|
+
- (void)paymentTokenDidReturnWithToken:(NSString * _Nonnull)token completion:(void (^ _Nonnull)(enum PEApplePayResult))completion;
|
|
1074
|
+
- (void)paymentTokenNotAvailable;
|
|
1075
|
+
@end
|
|
1076
|
+
|
|
1077
|
+
typedef SWIFT_ENUM(NSInteger, PEApplePayResult, open) {
|
|
1078
|
+
PEApplePayResultSuccess = 0,
|
|
1079
|
+
PEApplePayResultFailure = 1,
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
/// PayEngine Card object
|
|
1084
|
+
SWIFT_CLASS("_TtC12PayEngineSDK13PEBankAccount")
|
|
1085
|
+
@interface PEBankAccount : NSObject
|
|
1086
|
+
@property (nonatomic, copy) NSString * _Nonnull token;
|
|
1087
|
+
@property (nonatomic, strong) BankAccountData * _Nonnull bankAccountData;
|
|
1088
|
+
- (nullable instancetype)initWithToken:(NSString * _Nonnull)token bankAccountData:(BankAccountData * _Nonnull)bankAccountData error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
1089
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1090
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1091
|
+
@end
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
SWIFT_CLASS("_TtC12PayEngineSDK17PEBankAccountView")
|
|
1095
|
+
@interface PEBankAccountView : IBankAccountView
|
|
1096
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1097
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1098
|
+
- (void)didMoveToSuperview;
|
|
1099
|
+
- (void)layoutSubviews;
|
|
1100
|
+
@end
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
/// PayEngine Card object
|
|
1104
|
+
SWIFT_CLASS("_TtC12PayEngineSDK6PECard")
|
|
1105
|
+
@interface PECard : NSObject
|
|
1106
|
+
@property (nonatomic, copy) NSString * _Nonnull token;
|
|
1107
|
+
@property (nonatomic, strong) CardData * _Nonnull cardData;
|
|
1108
|
+
- (nullable instancetype)initWithToken:(NSString * _Nonnull)token cardData:(CardData * _Nonnull)cardData error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
1109
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1110
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1111
|
+
@end
|
|
1112
|
+
|
|
1113
|
+
@class PEConfig;
|
|
1114
|
+
@class WKUserContentController;
|
|
1115
|
+
@class WKScriptMessage;
|
|
1116
|
+
|
|
1117
|
+
/// PEComponent
|
|
1118
|
+
SWIFT_CLASS("_TtC12PayEngineSDK11PEComponent")
|
|
1119
|
+
@interface PEComponent : UIView <WKScriptMessageHandler>
|
|
1120
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1121
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1122
|
+
- (void)didMoveToSuperview;
|
|
1123
|
+
- (void)setupWithConfig:(PEConfig * _Nonnull)config componentName:(NSString * _Nonnull)componentName props:(NSDictionary<NSString *, NSString *> * _Nonnull)props;
|
|
1124
|
+
- (void)pinToView:(UIView * _Nonnull)view;
|
|
1125
|
+
- (void)registerEventWithName:(NSString * _Nonnull)name handler:(void (^ _Nonnull)(id _Nonnull))handler;
|
|
1126
|
+
- (void)removeEventWithName:(NSString * _Nonnull)name;
|
|
1127
|
+
- (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message;
|
|
1128
|
+
@end
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
/// PayEngine configuration
|
|
1132
|
+
SWIFT_CLASS("_TtC12PayEngineSDK8PEConfig")
|
|
1133
|
+
@interface PEConfig : NSObject
|
|
1134
|
+
- (nonnull instancetype)initWithPublicKey:(NSString * _Nonnull)publicKey baseURL:(NSString * _Nullable)baseURL OBJC_DESIGNATED_INITIALIZER;
|
|
1135
|
+
- (NSString * _Nonnull)getBaseURL SWIFT_WARN_UNUSED_RESULT;
|
|
1136
|
+
- (BOOL)isProduction SWIFT_WARN_UNUSED_RESULT;
|
|
1137
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1138
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1139
|
+
@end
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
SWIFT_CLASS("_TtC12PayEngineSDK7PEField")
|
|
1143
|
+
@interface PEField : NSObject
|
|
1144
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1145
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1146
|
+
@end
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/// PEPaymentView
|
|
1150
|
+
SWIFT_CLASS("_TtC12PayEngineSDK13PEPaymentView")
|
|
1151
|
+
@interface PEPaymentView : ICardNumberView
|
|
1152
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
1153
|
+
- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1154
|
+
- (void)didMoveToSuperview;
|
|
1155
|
+
- (void)layoutSubviews;
|
|
1156
|
+
- (void)setupWithVaultId:(NSString * _Nonnull)vaultId env:(NSString * _Nonnull)env publicKey:(NSString * _Nonnull)publicKey additionalFields:(NSArray<PEField *> * _Nonnull)additionalFields;
|
|
1157
|
+
- (BOOL)validate SWIFT_WARN_UNUSED_RESULT;
|
|
1158
|
+
- (void)showKeyboard;
|
|
1159
|
+
@end
|
|
1160
|
+
|
|
1161
|
+
typedef SWIFT_ENUM(NSInteger, PEThemeMode, open) {
|
|
1162
|
+
PEThemeModeSystem = 0,
|
|
1163
|
+
PEThemeModeDark = 1,
|
|
1164
|
+
PEThemeModeLight = 2,
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
@class ThreeDSResult;
|
|
1168
|
+
|
|
1169
|
+
/// PayEngine Main Class
|
|
1170
|
+
SWIFT_CLASS("_TtC12PayEngineSDK9PayEngine")
|
|
1171
|
+
@interface PayEngine : NSObject
|
|
1172
|
+
/// Constructor
|
|
1173
|
+
/// \param config PayEngine configuration
|
|
1174
|
+
///
|
|
1175
|
+
- (nonnull instancetype)initWithConfig:(PEConfig * _Nonnull)config OBJC_DESIGNATED_INITIALIZER;
|
|
1176
|
+
+ (void)setThemeMode:(enum PEThemeMode)themMode;
|
|
1177
|
+
- (PEComponent * _Nonnull)createComponentWithName:(NSString * _Nonnull)name props:(NSDictionary<NSString *, NSString *> * _Nonnull)props SWIFT_WARN_UNUSED_RESULT;
|
|
1178
|
+
- (void)createSecureViewWithAdditionalFields:(NSArray<PEField *> * _Nullable)additionalFields completion:(void (^ _Nonnull)(ICardNumberView * _Nonnull))completion;
|
|
1179
|
+
- (void)createBankAccountViewWithAdditionalFields:(NSArray<PEField *> * _Nullable)additionalFields completion:(void (^ _Nonnull)(IBankAccountView * _Nonnull))completion;
|
|
1180
|
+
- (void)getBrowserInfoWithView:(UIView * _Nonnull)view handler:(void (^ _Nonnull)(NSString * _Nonnull))handler;
|
|
1181
|
+
- (void)perform3DSFlowWithView:(UIView * _Nonnull)view threeDSData:(NSString * _Nonnull)threeDSData handler:(void (^ _Nonnull)(ThreeDSResult * _Nonnull))handler;
|
|
1182
|
+
- (void)createFraudMonitorSessionWithMerchantId:(NSString * _Nonnull)merchantId completion:(void (^ _Nonnull)(NSString * _Nonnull))completion;
|
|
1183
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1184
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1185
|
+
@end
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
SWIFT_CLASS("_TtC12PayEngineSDK14ThreeDSMessage")
|
|
1189
|
+
@interface ThreeDSMessage : NSObject
|
|
1190
|
+
- (nullable instancetype)initWithType:(NSString * _Nonnull)type subtype:(NSString * _Nonnull)subtype data:(ThreeDSResult * _Nullable)data error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
1191
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1192
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1193
|
+
@end
|
|
1194
|
+
|
|
1195
|
+
@class WKWebView;
|
|
1196
|
+
@class WKNavigationAction;
|
|
1197
|
+
@class WKNavigation;
|
|
1198
|
+
|
|
1199
|
+
SWIFT_CLASS("_TtC12PayEngineSDK12ThreeDSModal")
|
|
1200
|
+
@interface ThreeDSModal : UIView <WKNavigationDelegate, WKScriptMessageHandler>
|
|
1201
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
1202
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
1203
|
+
- (void)setupWithConfig:(PEConfig * _Nonnull)config threeDSData:(NSString * _Nonnull)threeDSData handler:(void (^ _Nonnull)(ThreeDSResult * _Nonnull))handler;
|
|
1204
|
+
- (void)setupWebView;
|
|
1205
|
+
- (void)webView:(WKWebView * _Nonnull)webView decidePolicyForNavigationAction:(WKNavigationAction * _Nonnull)navigationAction decisionHandler:(void (^ _Nonnull)(WKNavigationActionPolicy))decisionHandler;
|
|
1206
|
+
- (void)webView:(WKWebView * _Nonnull)webView didFinishNavigation:(WKNavigation * _Null_unspecified)navigation;
|
|
1207
|
+
- (void)userContentController:(WKUserContentController * _Nonnull)userContentController didReceiveScriptMessage:(WKScriptMessage * _Nonnull)message;
|
|
1208
|
+
@end
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
SWIFT_CLASS("_TtC12PayEngineSDK13ThreeDSResult")
|
|
1212
|
+
@interface ThreeDSResult : NSObject
|
|
1213
|
+
@property (nonatomic, copy) NSString * _Nullable message;
|
|
1214
|
+
@property (nonatomic) BOOL success;
|
|
1215
|
+
@property (nonatomic, copy) NSString * _Nullable transactionId;
|
|
1216
|
+
- (nullable instancetype)initWithMessage:(NSString * _Nullable)message success:(BOOL)success transactionId:(NSString * _Nullable)transactionId error:(NSError * _Nullable * _Nullable)error OBJC_DESIGNATED_INITIALIZER;
|
|
1217
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1218
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1219
|
+
@end
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
#endif
|
|
1230
|
+
#if __has_attribute(external_source_symbol)
|
|
1231
|
+
# pragma clang attribute pop
|
|
1232
|
+
#endif
|
|
1233
|
+
#if defined(__cplusplus)
|
|
1234
|
+
#endif
|
|
1235
|
+
#pragma clang diagnostic pop
|
|
1236
|
+
#endif
|
|
1237
|
+
|
|
1238
|
+
#else
|
|
1239
|
+
#error unsupported Swift architecture
|
|
1240
|
+
#endif
|