@pixelpay/capacitor-plugin 2.0.3 → 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/android/build.gradle +1 -1
- package/ios/Frameworks/CardinalMobile.xcframework/Info.plist +5 -7
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Assets.car +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/AuthenticationRequestParameters.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ButtonCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalCMSDK.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalEMVCoSDK.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalMobile.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalResponse.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalSession.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64}/CardinalMobile.framework/Headers/CardinalSessionConfiguration.h +2 -2
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalStepUpDelegate.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalThreeDS2ServiceImpl.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CardinalTransaction.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ChallengeParameters.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ChallengeStatusReceiver.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/CompletionEvent.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ConfigParameters.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/Customization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/DirectoryServerIDConst.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ErrorMessage.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/LabelCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ProgressDialog.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ProtocolErrorEvent.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/RuntimeErrorEvent.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/TextBoxCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ThreeDS2Service.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/ToolbarCustomization.h +5 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/Transaction.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/UiCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Headers/Warning.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Info.plist +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/Modules/module.modulemap +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64}/CardinalMobile.framework/export_file.txt +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Assets.car +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/AuthenticationRequestParameters.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ButtonCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalCMSDK.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalEMVCoSDK.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalMobile.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalResponse.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalSession.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_armv7 → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalSessionConfiguration.h +2 -2
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalStepUpDelegate.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalThreeDS2ServiceImpl.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CardinalTransaction.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ChallengeParameters.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ChallengeStatusReceiver.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/CompletionEvent.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ConfigParameters.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/Customization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/DirectoryServerIDConst.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ErrorMessage.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/LabelCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ProgressDialog.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ProtocolErrorEvent.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/RuntimeErrorEvent.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/TextBoxCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ThreeDS2Service.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/ToolbarCustomization.h +5 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/Transaction.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/UiCustomization.h +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Headers/Warning.h +0 -0
- package/ios/Frameworks/{PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks → CardinalMobile.xcframework/ios-arm64_x86_64-simulator}/CardinalMobile.framework/Info.plist +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/Modules/module.modulemap +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/_CodeSignature/CodeResources +46 -46
- package/ios/Frameworks/CardinalMobile.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/CardinalMobile.framework/export_file.txt +0 -0
- package/ios/Frameworks/PixelPaySDK.podspec +2 -3
- package/ios/Frameworks/PixelPaySDK.xcframework/Info.plist +2 -4
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +40 -40
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +348 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Headers/sdk.h +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.abi.json +91459 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/armv7-apple-ios.swiftinterface → ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.private.swiftinterface} +88 -5
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftinterface +9 -7
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/Modules/module.modulemap +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/PixelPaySDK +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64}/PixelPaySDK.framework/_CodeSignature/CodeResources +77 -92
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/{CardinalMobile.xcframework/ios-arm64_armv7 → PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks}/CardinalMobile.framework/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +40 -40
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +85 -5
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Headers/sdk.h +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_armv7 → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.abi.json +91459 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/i386-apple-ios-simulator.swiftinterface → ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface} +88 -5
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +9 -7
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +91459 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2611 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +9 -7
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/Modules/module.modulemap +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_i386_x86_64-simulator → ios-arm64_x86_64-simulator}/PixelPaySDK.framework/_CodeSignature/CodeResources +105 -90
- package/ios/Frameworks/README.md +1 -1
- package/package.json +1 -1
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_armv7/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/Info.plist +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_i386_x86_64-simulator/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/armv7-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/PixelPaySDK +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +0 -917
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Info.plist +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/i386-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
|
@@ -0,0 +1,2611 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PixelPaySDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import CardinalMobile
|
|
6
|
+
import Combine
|
|
7
|
+
import CommonCrypto
|
|
8
|
+
import Dispatch
|
|
9
|
+
import Foundation
|
|
10
|
+
import MobileCoreServices
|
|
11
|
+
import Swift
|
|
12
|
+
import SwiftUI
|
|
13
|
+
import SystemConfiguration
|
|
14
|
+
import UIKit
|
|
15
|
+
import WebKit
|
|
16
|
+
import _Concurrency
|
|
17
|
+
import _StringProcessing
|
|
18
|
+
public enum IllegalStateException : Swift.Error {
|
|
19
|
+
case illegalState(Swift.String)
|
|
20
|
+
}
|
|
21
|
+
@_hasMissingDesignatedInitializers public class Request {
|
|
22
|
+
public enum State {
|
|
23
|
+
case initialized
|
|
24
|
+
case resumed
|
|
25
|
+
case suspended
|
|
26
|
+
case cancelled
|
|
27
|
+
case finished
|
|
28
|
+
public static func == (a: PixelPaySDK.Request.State, b: PixelPaySDK.Request.State) -> Swift.Bool
|
|
29
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
30
|
+
public var hashValue: Swift.Int {
|
|
31
|
+
get
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
final public let id: Foundation.UUID
|
|
35
|
+
final public let underlyingQueue: Dispatch.DispatchQueue
|
|
36
|
+
final public let serializationQueue: Dispatch.DispatchQueue
|
|
37
|
+
final public let eventMonitor: PixelPaySDK.EventMonitor?
|
|
38
|
+
final public let interceptor: PixelPaySDK.RequestInterceptor?
|
|
39
|
+
weak public var delegate: PixelPaySDK.RequestDelegate? {
|
|
40
|
+
get
|
|
41
|
+
}
|
|
42
|
+
public var state: PixelPaySDK.Request.State {
|
|
43
|
+
get
|
|
44
|
+
}
|
|
45
|
+
public var isInitialized: Swift.Bool {
|
|
46
|
+
get
|
|
47
|
+
}
|
|
48
|
+
public var isResumed: Swift.Bool {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
51
|
+
public var isSuspended: Swift.Bool {
|
|
52
|
+
get
|
|
53
|
+
}
|
|
54
|
+
public var isCancelled: Swift.Bool {
|
|
55
|
+
get
|
|
56
|
+
}
|
|
57
|
+
public var isFinished: Swift.Bool {
|
|
58
|
+
get
|
|
59
|
+
}
|
|
60
|
+
public typealias ProgressHandler = (Foundation.Progress) -> Swift.Void
|
|
61
|
+
final public let uploadProgress: Foundation.Progress
|
|
62
|
+
final public let downloadProgress: Foundation.Progress
|
|
63
|
+
public var redirectHandler: PixelPaySDK.RedirectHandler? {
|
|
64
|
+
get
|
|
65
|
+
}
|
|
66
|
+
public var cachedResponseHandler: PixelPaySDK.CachedResponseHandler? {
|
|
67
|
+
get
|
|
68
|
+
}
|
|
69
|
+
public var credential: Foundation.URLCredential? {
|
|
70
|
+
get
|
|
71
|
+
}
|
|
72
|
+
public var requests: [Foundation.URLRequest] {
|
|
73
|
+
get
|
|
74
|
+
}
|
|
75
|
+
public var firstRequest: Foundation.URLRequest? {
|
|
76
|
+
get
|
|
77
|
+
}
|
|
78
|
+
public var lastRequest: Foundation.URLRequest? {
|
|
79
|
+
get
|
|
80
|
+
}
|
|
81
|
+
public var request: Foundation.URLRequest? {
|
|
82
|
+
get
|
|
83
|
+
}
|
|
84
|
+
public var performedRequests: [Foundation.URLRequest] {
|
|
85
|
+
get
|
|
86
|
+
}
|
|
87
|
+
public var response: Foundation.HTTPURLResponse? {
|
|
88
|
+
get
|
|
89
|
+
}
|
|
90
|
+
public var tasks: [Foundation.URLSessionTask] {
|
|
91
|
+
get
|
|
92
|
+
}
|
|
93
|
+
public var firstTask: Foundation.URLSessionTask? {
|
|
94
|
+
get
|
|
95
|
+
}
|
|
96
|
+
public var lastTask: Foundation.URLSessionTask? {
|
|
97
|
+
get
|
|
98
|
+
}
|
|
99
|
+
public var task: Foundation.URLSessionTask? {
|
|
100
|
+
get
|
|
101
|
+
}
|
|
102
|
+
public var allMetrics: [Foundation.URLSessionTaskMetrics] {
|
|
103
|
+
get
|
|
104
|
+
}
|
|
105
|
+
public var firstMetrics: Foundation.URLSessionTaskMetrics? {
|
|
106
|
+
get
|
|
107
|
+
}
|
|
108
|
+
public var lastMetrics: Foundation.URLSessionTaskMetrics? {
|
|
109
|
+
get
|
|
110
|
+
}
|
|
111
|
+
public var metrics: Foundation.URLSessionTaskMetrics? {
|
|
112
|
+
get
|
|
113
|
+
}
|
|
114
|
+
public var retryCount: Swift.Int {
|
|
115
|
+
get
|
|
116
|
+
}
|
|
117
|
+
public var error: PixelPaySDK.AFError? {
|
|
118
|
+
get
|
|
119
|
+
}
|
|
120
|
+
@discardableResult
|
|
121
|
+
public func cancel() -> Self
|
|
122
|
+
@discardableResult
|
|
123
|
+
public func suspend() -> Self
|
|
124
|
+
@discardableResult
|
|
125
|
+
public func resume() -> Self
|
|
126
|
+
@discardableResult
|
|
127
|
+
public func authenticate(username: Swift.String, password: Swift.String, persistence: Foundation.URLCredential.Persistence = .forSession) -> Self
|
|
128
|
+
@discardableResult
|
|
129
|
+
public func authenticate(with credential: Foundation.URLCredential) -> Self
|
|
130
|
+
@discardableResult
|
|
131
|
+
public func downloadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
|
|
132
|
+
@discardableResult
|
|
133
|
+
public func uploadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
|
|
134
|
+
@discardableResult
|
|
135
|
+
public func redirect(using handler: PixelPaySDK.RedirectHandler) -> Self
|
|
136
|
+
@discardableResult
|
|
137
|
+
public func cacheResponse(using handler: PixelPaySDK.CachedResponseHandler) -> Self
|
|
138
|
+
@discardableResult
|
|
139
|
+
public func cURLDescription(on queue: Dispatch.DispatchQueue, calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
|
|
140
|
+
@discardableResult
|
|
141
|
+
public func cURLDescription(calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
|
|
142
|
+
@discardableResult
|
|
143
|
+
public func onURLRequestCreation(on queue: Dispatch.DispatchQueue = .main, perform handler: @escaping (Foundation.URLRequest) -> Swift.Void) -> Self
|
|
144
|
+
@discardableResult
|
|
145
|
+
public func onURLSessionTaskCreation(on queue: Dispatch.DispatchQueue = .main, perform handler: @escaping (Foundation.URLSessionTask) -> Swift.Void) -> Self
|
|
146
|
+
@objc deinit
|
|
147
|
+
}
|
|
148
|
+
extension PixelPaySDK.Request : Swift.Equatable {
|
|
149
|
+
public static func == (lhs: PixelPaySDK.Request, rhs: PixelPaySDK.Request) -> Swift.Bool
|
|
150
|
+
}
|
|
151
|
+
extension PixelPaySDK.Request : Swift.Hashable {
|
|
152
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
153
|
+
public var hashValue: Swift.Int {
|
|
154
|
+
get
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
extension PixelPaySDK.Request : Swift.CustomStringConvertible {
|
|
158
|
+
public var description: Swift.String {
|
|
159
|
+
get
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
extension PixelPaySDK.Request {
|
|
163
|
+
public func cURLDescription() -> Swift.String
|
|
164
|
+
}
|
|
165
|
+
public protocol RequestDelegate : AnyObject {
|
|
166
|
+
var sessionConfiguration: Foundation.URLSessionConfiguration { get }
|
|
167
|
+
var startImmediately: Swift.Bool { get }
|
|
168
|
+
func cleanup(after request: PixelPaySDK.Request)
|
|
169
|
+
func retryResult(for request: PixelPaySDK.Request, dueTo error: PixelPaySDK.AFError, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
170
|
+
func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
|
|
171
|
+
}
|
|
172
|
+
@_hasMissingDesignatedInitializers public class DataRequest : PixelPaySDK.Request {
|
|
173
|
+
final public let convertible: PixelPaySDK.URLRequestConvertible
|
|
174
|
+
public var data: Foundation.Data? {
|
|
175
|
+
get
|
|
176
|
+
}
|
|
177
|
+
@discardableResult
|
|
178
|
+
public func validate(_ validation: @escaping PixelPaySDK.DataRequest.Validation) -> Self
|
|
179
|
+
@objc deinit
|
|
180
|
+
}
|
|
181
|
+
@_hasMissingDesignatedInitializers final public class DataStreamRequest : PixelPaySDK.Request {
|
|
182
|
+
public typealias Handler<Success, Failure> = (PixelPaySDK.DataStreamRequest.Stream<Success, Failure>) throws -> Swift.Void where Failure : Swift.Error
|
|
183
|
+
public struct Stream<Success, Failure> where Failure : Swift.Error {
|
|
184
|
+
public let event: PixelPaySDK.DataStreamRequest.Event<Success, Failure>
|
|
185
|
+
public let token: PixelPaySDK.DataStreamRequest.CancellationToken
|
|
186
|
+
public func cancel()
|
|
187
|
+
}
|
|
188
|
+
public enum Event<Success, Failure> where Failure : Swift.Error {
|
|
189
|
+
case stream(Swift.Result<Success, Failure>)
|
|
190
|
+
case complete(PixelPaySDK.DataStreamRequest.Completion)
|
|
191
|
+
}
|
|
192
|
+
public struct Completion {
|
|
193
|
+
public let request: Foundation.URLRequest?
|
|
194
|
+
public let response: Foundation.HTTPURLResponse?
|
|
195
|
+
public let metrics: Foundation.URLSessionTaskMetrics?
|
|
196
|
+
public let error: PixelPaySDK.AFError?
|
|
197
|
+
}
|
|
198
|
+
public struct CancellationToken {
|
|
199
|
+
public func cancel()
|
|
200
|
+
}
|
|
201
|
+
final public let convertible: PixelPaySDK.URLRequestConvertible
|
|
202
|
+
final public let automaticallyCancelOnStreamError: Swift.Bool
|
|
203
|
+
@discardableResult
|
|
204
|
+
final public func validate(_ validation: @escaping PixelPaySDK.DataStreamRequest.Validation) -> Self
|
|
205
|
+
final public func asInputStream(bufferSize: Swift.Int = 1024) -> Foundation.InputStream?
|
|
206
|
+
@objc deinit
|
|
207
|
+
}
|
|
208
|
+
extension PixelPaySDK.DataStreamRequest.Stream {
|
|
209
|
+
public var result: Swift.Result<Success, Failure>? {
|
|
210
|
+
get
|
|
211
|
+
}
|
|
212
|
+
public var value: Success? {
|
|
213
|
+
get
|
|
214
|
+
}
|
|
215
|
+
public var error: Failure? {
|
|
216
|
+
get
|
|
217
|
+
}
|
|
218
|
+
public var completion: PixelPaySDK.DataStreamRequest.Completion? {
|
|
219
|
+
get
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
@_hasMissingDesignatedInitializers public class DownloadRequest : PixelPaySDK.Request {
|
|
223
|
+
public struct Options : Swift.OptionSet {
|
|
224
|
+
public static let createIntermediateDirectories: PixelPaySDK.DownloadRequest.Options
|
|
225
|
+
public static let removePreviousFile: PixelPaySDK.DownloadRequest.Options
|
|
226
|
+
public let rawValue: Swift.Int
|
|
227
|
+
public init(rawValue: Swift.Int)
|
|
228
|
+
public typealias ArrayLiteralElement = PixelPaySDK.DownloadRequest.Options
|
|
229
|
+
public typealias Element = PixelPaySDK.DownloadRequest.Options
|
|
230
|
+
public typealias RawValue = Swift.Int
|
|
231
|
+
}
|
|
232
|
+
public typealias Destination = (_ temporaryURL: Foundation.URL, _ response: Foundation.HTTPURLResponse) -> (destinationURL: Foundation.URL, options: PixelPaySDK.DownloadRequest.Options)
|
|
233
|
+
public class func suggestedDownloadDestination(for directory: Foundation.FileManager.SearchPathDirectory = .documentDirectory, in domain: Foundation.FileManager.SearchPathDomainMask = .userDomainMask, options: PixelPaySDK.DownloadRequest.Options = []) -> PixelPaySDK.DownloadRequest.Destination
|
|
234
|
+
public enum Downloadable {
|
|
235
|
+
case request(PixelPaySDK.URLRequestConvertible)
|
|
236
|
+
case resumeData(Foundation.Data)
|
|
237
|
+
}
|
|
238
|
+
public var resumeData: Foundation.Data? {
|
|
239
|
+
get
|
|
240
|
+
}
|
|
241
|
+
public var fileURL: Foundation.URL? {
|
|
242
|
+
get
|
|
243
|
+
}
|
|
244
|
+
final public let downloadable: PixelPaySDK.DownloadRequest.Downloadable
|
|
245
|
+
public func task(forResumeData data: Foundation.Data, using session: Foundation.URLSession) -> Foundation.URLSessionTask
|
|
246
|
+
@discardableResult
|
|
247
|
+
override public func cancel() -> Self
|
|
248
|
+
@discardableResult
|
|
249
|
+
public func cancel(producingResumeData shouldProduceResumeData: Swift.Bool) -> Self
|
|
250
|
+
@discardableResult
|
|
251
|
+
public func cancel(byProducingResumeData completionHandler: @escaping (_ data: Foundation.Data?) -> Swift.Void) -> Self
|
|
252
|
+
@discardableResult
|
|
253
|
+
public func validate(_ validation: @escaping PixelPaySDK.DownloadRequest.Validation) -> Self
|
|
254
|
+
@objc deinit
|
|
255
|
+
}
|
|
256
|
+
@_hasMissingDesignatedInitializers public class UploadRequest : PixelPaySDK.DataRequest {
|
|
257
|
+
public enum Uploadable {
|
|
258
|
+
case data(Foundation.Data)
|
|
259
|
+
case file(Foundation.URL, shouldRemove: Swift.Bool)
|
|
260
|
+
case stream(Foundation.InputStream)
|
|
261
|
+
}
|
|
262
|
+
final public let upload: PixelPaySDK.UploadableConvertible
|
|
263
|
+
final public let fileManager: Foundation.FileManager
|
|
264
|
+
public var uploadable: PixelPaySDK.UploadRequest.Uploadable?
|
|
265
|
+
public func cleanup()
|
|
266
|
+
@objc deinit
|
|
267
|
+
}
|
|
268
|
+
public protocol UploadableConvertible {
|
|
269
|
+
func createUploadable() throws -> PixelPaySDK.UploadRequest.Uploadable
|
|
270
|
+
}
|
|
271
|
+
extension PixelPaySDK.UploadRequest.Uploadable : PixelPaySDK.UploadableConvertible {
|
|
272
|
+
public func createUploadable() throws -> PixelPaySDK.UploadRequest.Uploadable
|
|
273
|
+
}
|
|
274
|
+
public protocol UploadConvertible : PixelPaySDK.URLRequestConvertible, PixelPaySDK.UploadableConvertible {
|
|
275
|
+
}
|
|
276
|
+
public class Environment {
|
|
277
|
+
public static let LIVE: Swift.String
|
|
278
|
+
public static let TEST: Swift.String
|
|
279
|
+
public static let SANDBOX: Swift.String
|
|
280
|
+
public static let STAGING: Swift.String
|
|
281
|
+
public init() throws
|
|
282
|
+
@objc deinit
|
|
283
|
+
}
|
|
284
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
285
|
+
public struct DataResponsePublisher<Value> : Combine.Publisher {
|
|
286
|
+
public typealias Output = PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>
|
|
287
|
+
public typealias Failure = Swift.Never
|
|
288
|
+
public init<Serializer>(_ request: PixelPaySDK.DataRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.ResponseSerializer
|
|
289
|
+
public init<Serializer>(_ request: PixelPaySDK.DataRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.DataResponseSerializerProtocol
|
|
290
|
+
public func result() -> Combine.AnyPublisher<Swift.Result<Value, PixelPaySDK.AFError>, Swift.Never>
|
|
291
|
+
public func value() -> Combine.AnyPublisher<Value, PixelPaySDK.AFError>
|
|
292
|
+
public func receive<S>(subscriber: S) where S : Combine.Subscriber, S.Failure == Swift.Never, S.Input == PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>
|
|
293
|
+
}
|
|
294
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
295
|
+
extension PixelPaySDK.DataResponsePublisher where Value == Foundation.Data? {
|
|
296
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
297
|
+
public init(_ request: PixelPaySDK.DataRequest, queue: Dispatch.DispatchQueue)
|
|
298
|
+
}
|
|
299
|
+
extension PixelPaySDK.DataRequest {
|
|
300
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
301
|
+
public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<T> where Serializer : PixelPaySDK.ResponseSerializer, T == Serializer.SerializedObject
|
|
302
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
303
|
+
public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Foundation.Data>
|
|
304
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
305
|
+
public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Swift.String>
|
|
306
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
307
|
+
public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<T> where T : Swift.Decodable
|
|
308
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
309
|
+
public func publishUnserialized(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<Foundation.Data?>
|
|
310
|
+
}
|
|
311
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
312
|
+
public struct DataStreamPublisher<Value> : Combine.Publisher {
|
|
313
|
+
public typealias Output = PixelPaySDK.DataStreamRequest.Stream<Value, PixelPaySDK.AFError>
|
|
314
|
+
public typealias Failure = Swift.Never
|
|
315
|
+
public init<Serializer>(_ request: PixelPaySDK.DataStreamRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.DataStreamSerializer
|
|
316
|
+
public func result() -> Combine.AnyPublisher<Swift.Result<Value, PixelPaySDK.AFError>, Swift.Never>
|
|
317
|
+
public func value() -> Combine.AnyPublisher<Value, PixelPaySDK.AFError>
|
|
318
|
+
public func receive<S>(subscriber: S) where S : Combine.Subscriber, S.Failure == Swift.Never, S.Input == PixelPaySDK.DataStreamRequest.Stream<Value, PixelPaySDK.AFError>
|
|
319
|
+
}
|
|
320
|
+
extension PixelPaySDK.DataStreamRequest {
|
|
321
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
322
|
+
final public func publishStream<Serializer>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Serializer.SerializedObject> where Serializer : PixelPaySDK.DataStreamSerializer
|
|
323
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
324
|
+
final public func publishData(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Foundation.Data>
|
|
325
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
326
|
+
final public func publishString(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Swift.String>
|
|
327
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
328
|
+
final public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor()) -> PixelPaySDK.DataStreamPublisher<T> where T : Swift.Decodable
|
|
329
|
+
}
|
|
330
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
331
|
+
public struct DownloadResponsePublisher<Value> : Combine.Publisher {
|
|
332
|
+
public typealias Output = PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>
|
|
333
|
+
public typealias Failure = Swift.Never
|
|
334
|
+
public init<Serializer>(_ request: PixelPaySDK.DownloadRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.ResponseSerializer
|
|
335
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
336
|
+
public init<Serializer>(_ request: PixelPaySDK.DownloadRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.DownloadResponseSerializerProtocol
|
|
337
|
+
public func result() -> Combine.AnyPublisher<Swift.Result<Value, PixelPaySDK.AFError>, Swift.Never>
|
|
338
|
+
public func value() -> Combine.AnyPublisher<Value, PixelPaySDK.AFError>
|
|
339
|
+
public func receive<S>(subscriber: S) where S : Combine.Subscriber, S.Failure == Swift.Never, S.Input == PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>
|
|
340
|
+
}
|
|
341
|
+
extension PixelPaySDK.DownloadRequest {
|
|
342
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
343
|
+
public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<T> where Serializer : PixelPaySDK.ResponseSerializer, T == Serializer.SerializedObject
|
|
344
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
345
|
+
public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<T> where Serializer : PixelPaySDK.DownloadResponseSerializerProtocol, T == Serializer.SerializedObject
|
|
346
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
347
|
+
public func publishURL(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<Foundation.URL>
|
|
348
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
349
|
+
public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Foundation.Data>
|
|
350
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
351
|
+
public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Swift.String>
|
|
352
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
353
|
+
public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<T> where T : Swift.Decodable
|
|
354
|
+
}
|
|
355
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
356
|
+
extension PixelPaySDK.DownloadResponsePublisher where Value == Foundation.URL? {
|
|
357
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
358
|
+
public init(_ request: PixelPaySDK.DownloadRequest, queue: Dispatch.DispatchQueue)
|
|
359
|
+
}
|
|
360
|
+
extension PixelPaySDK.DownloadRequest {
|
|
361
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
362
|
+
public func publishUnserialized(on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<Foundation.URL?>
|
|
363
|
+
}
|
|
364
|
+
public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashable {
|
|
365
|
+
public static let connect: PixelPaySDK.HTTPMethod
|
|
366
|
+
public static let delete: PixelPaySDK.HTTPMethod
|
|
367
|
+
public static let get: PixelPaySDK.HTTPMethod
|
|
368
|
+
public static let head: PixelPaySDK.HTTPMethod
|
|
369
|
+
public static let options: PixelPaySDK.HTTPMethod
|
|
370
|
+
public static let patch: PixelPaySDK.HTTPMethod
|
|
371
|
+
public static let post: PixelPaySDK.HTTPMethod
|
|
372
|
+
public static let put: PixelPaySDK.HTTPMethod
|
|
373
|
+
public static let trace: PixelPaySDK.HTTPMethod
|
|
374
|
+
public let rawValue: Swift.String
|
|
375
|
+
public init(rawValue: Swift.String)
|
|
376
|
+
public typealias RawValue = Swift.String
|
|
377
|
+
}
|
|
378
|
+
@_inheritsConvenienceInitializers public class AuthTransaction : PixelPaySDK.PaymentTransaction {
|
|
379
|
+
override public init()
|
|
380
|
+
required public init(from: Swift.Decoder) throws
|
|
381
|
+
@objc deinit
|
|
382
|
+
}
|
|
383
|
+
@_inheritsConvenienceInitializers public class VoidTransaction : PixelPaySDK.RequestBehaviour {
|
|
384
|
+
public var payment_uuid: Swift.String?
|
|
385
|
+
public var void_reason: Swift.String?
|
|
386
|
+
override public init()
|
|
387
|
+
required public init(from: Swift.Decoder) throws
|
|
388
|
+
override public func encode(to encoder: Swift.Encoder) throws
|
|
389
|
+
@objc deinit
|
|
390
|
+
}
|
|
391
|
+
@_inheritsConvenienceInitializers public class SuccessResponse : PixelPaySDK.Response {
|
|
392
|
+
override public init()
|
|
393
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
394
|
+
@objc deinit
|
|
395
|
+
}
|
|
396
|
+
@_hasMissingDesignatedInitializers public class CardResult : Swift.Codable {
|
|
397
|
+
public var status: Swift.String?
|
|
398
|
+
public var mask: Swift.String?
|
|
399
|
+
public var network: Swift.String?
|
|
400
|
+
public var type: Swift.String?
|
|
401
|
+
public var bin: Swift.String?
|
|
402
|
+
public var last: Swift.String?
|
|
403
|
+
public var hash: Swift.String?
|
|
404
|
+
public var address: Swift.String?
|
|
405
|
+
public var country: Swift.String?
|
|
406
|
+
public var state: Swift.String?
|
|
407
|
+
public var city: Swift.String?
|
|
408
|
+
public var zip: Swift.String?
|
|
409
|
+
public var email: Swift.String?
|
|
410
|
+
public var phone: Swift.String?
|
|
411
|
+
public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
|
|
412
|
+
public static func fromResponse(response: PixelPaySDK.SuccessResponse) -> PixelPaySDK.CardResult
|
|
413
|
+
@objc deinit
|
|
414
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
415
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
416
|
+
}
|
|
417
|
+
@_inheritsConvenienceInitializers public class StatusTransaction : PixelPaySDK.RequestBehaviour {
|
|
418
|
+
public var payment_uuid: Swift.String?
|
|
419
|
+
override public init()
|
|
420
|
+
required public init(from: Swift.Decoder) throws
|
|
421
|
+
override public func encode(to encoder: Swift.Encoder) throws
|
|
422
|
+
@objc deinit
|
|
423
|
+
}
|
|
424
|
+
@_inheritsConvenienceInitializers public class PreconditionalResponse : PixelPaySDK.Response {
|
|
425
|
+
override public init()
|
|
426
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
427
|
+
@objc deinit
|
|
428
|
+
}
|
|
429
|
+
@_inheritsConvenienceInitializers public class CaptureTransaction : PixelPaySDK.RequestBehaviour {
|
|
430
|
+
public var payment_uuid: Swift.String?
|
|
431
|
+
public var transaction_approved_amount: Swift.String?
|
|
432
|
+
override public init()
|
|
433
|
+
required public init(from: Swift.Decoder) throws
|
|
434
|
+
override public func encode(to encoder: Swift.Encoder) throws
|
|
435
|
+
@objc deinit
|
|
436
|
+
}
|
|
437
|
+
open class ServerTrustManager {
|
|
438
|
+
final public let allHostsMustBeEvaluated: Swift.Bool
|
|
439
|
+
final public let evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating]
|
|
440
|
+
public init(allHostsMustBeEvaluated: Swift.Bool = true, evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating])
|
|
441
|
+
open func serverTrustEvaluator(forHost host: Swift.String) throws -> PixelPaySDK.ServerTrustEvaluating?
|
|
442
|
+
@objc deinit
|
|
443
|
+
}
|
|
444
|
+
public protocol ServerTrustEvaluating {
|
|
445
|
+
func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
446
|
+
}
|
|
447
|
+
final public class DefaultTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
448
|
+
public init(validateHost: Swift.Bool = true)
|
|
449
|
+
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
450
|
+
@objc deinit
|
|
451
|
+
}
|
|
452
|
+
final public class RevocationTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
453
|
+
public struct Options : Swift.OptionSet {
|
|
454
|
+
public static let crl: PixelPaySDK.RevocationTrustEvaluator.Options
|
|
455
|
+
public static let networkAccessDisabled: PixelPaySDK.RevocationTrustEvaluator.Options
|
|
456
|
+
public static let ocsp: PixelPaySDK.RevocationTrustEvaluator.Options
|
|
457
|
+
public static let preferCRL: PixelPaySDK.RevocationTrustEvaluator.Options
|
|
458
|
+
public static let requirePositiveResponse: PixelPaySDK.RevocationTrustEvaluator.Options
|
|
459
|
+
public static let any: PixelPaySDK.RevocationTrustEvaluator.Options
|
|
460
|
+
public let rawValue: CoreFoundation.CFOptionFlags
|
|
461
|
+
public init(rawValue: CoreFoundation.CFOptionFlags)
|
|
462
|
+
public typealias ArrayLiteralElement = PixelPaySDK.RevocationTrustEvaluator.Options
|
|
463
|
+
public typealias Element = PixelPaySDK.RevocationTrustEvaluator.Options
|
|
464
|
+
public typealias RawValue = CoreFoundation.CFOptionFlags
|
|
465
|
+
}
|
|
466
|
+
public init(performDefaultValidation: Swift.Bool = true, validateHost: Swift.Bool = true, options: PixelPaySDK.RevocationTrustEvaluator.Options = .any)
|
|
467
|
+
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
468
|
+
@objc deinit
|
|
469
|
+
}
|
|
470
|
+
final public class PinnedCertificatesTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
471
|
+
public init(certificates: [Security.SecCertificate] = Bundle.main.af.certificates, acceptSelfSignedCertificates: Swift.Bool = false, performDefaultValidation: Swift.Bool = true, validateHost: Swift.Bool = true)
|
|
472
|
+
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
473
|
+
@objc deinit
|
|
474
|
+
}
|
|
475
|
+
final public class PublicKeysTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
476
|
+
public init(keys: [Security.SecKey] = Bundle.main.af.publicKeys, performDefaultValidation: Swift.Bool = true, validateHost: Swift.Bool = true)
|
|
477
|
+
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
478
|
+
@objc deinit
|
|
479
|
+
}
|
|
480
|
+
final public class CompositeTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
481
|
+
public init(evaluators: [PixelPaySDK.ServerTrustEvaluating])
|
|
482
|
+
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
483
|
+
@objc deinit
|
|
484
|
+
}
|
|
485
|
+
@available(*, deprecated, renamed: "DisabledTrustEvaluator", message: "DisabledEvaluator has been renamed DisabledTrustEvaluator.")
|
|
486
|
+
public typealias DisabledEvaluator = PixelPaySDK.DisabledTrustEvaluator
|
|
487
|
+
final public class DisabledTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
488
|
+
public init()
|
|
489
|
+
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
490
|
+
@objc deinit
|
|
491
|
+
}
|
|
492
|
+
extension Swift.Array where Element == PixelPaySDK.ServerTrustEvaluating {
|
|
493
|
+
public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
494
|
+
}
|
|
495
|
+
extension Foundation.Bundle : PixelPaySDK.AlamofireExtended {
|
|
496
|
+
public typealias ExtendedType = Foundation.Bundle
|
|
497
|
+
}
|
|
498
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType : Foundation.Bundle {
|
|
499
|
+
public var certificates: [Security.SecCertificate] {
|
|
500
|
+
get
|
|
501
|
+
}
|
|
502
|
+
public var publicKeys: [Security.SecKey] {
|
|
503
|
+
get
|
|
504
|
+
}
|
|
505
|
+
public func paths(forResourcesOfTypes types: [Swift.String]) -> [Swift.String]
|
|
506
|
+
}
|
|
507
|
+
extension Security.SecTrust : PixelPaySDK.AlamofireExtended {
|
|
508
|
+
public typealias ExtendedType = Security.SecTrust
|
|
509
|
+
}
|
|
510
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust {
|
|
511
|
+
@available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
|
|
512
|
+
public func evaluate(afterApplying policy: Security.SecPolicy) throws
|
|
513
|
+
@available(iOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
|
|
514
|
+
@available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate(afterApplying:)")
|
|
515
|
+
@available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
|
|
516
|
+
@available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
|
|
517
|
+
public func validate(policy: Security.SecPolicy, errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
|
|
518
|
+
public func apply(policy: Security.SecPolicy) throws -> Security.SecTrust
|
|
519
|
+
@available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
|
|
520
|
+
public func evaluate() throws
|
|
521
|
+
@available(iOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
|
|
522
|
+
@available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate()")
|
|
523
|
+
@available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
|
|
524
|
+
@available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
|
|
525
|
+
public func validate(errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
|
|
526
|
+
public func setAnchorCertificates(_ certificates: [Security.SecCertificate]) throws
|
|
527
|
+
public var publicKeys: [Security.SecKey] {
|
|
528
|
+
get
|
|
529
|
+
}
|
|
530
|
+
public var certificates: [Security.SecCertificate] {
|
|
531
|
+
get
|
|
532
|
+
}
|
|
533
|
+
public var certificateData: [Foundation.Data] {
|
|
534
|
+
get
|
|
535
|
+
}
|
|
536
|
+
public func performDefaultValidation(forHost host: Swift.String) throws
|
|
537
|
+
public func performValidation(forHost host: Swift.String) throws
|
|
538
|
+
}
|
|
539
|
+
extension Security.SecPolicy : PixelPaySDK.AlamofireExtended {
|
|
540
|
+
public typealias ExtendedType = Security.SecPolicy
|
|
541
|
+
}
|
|
542
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecPolicy {
|
|
543
|
+
public static let `default`: Security.SecPolicy
|
|
544
|
+
public static func hostname(_ hostname: Swift.String) -> Security.SecPolicy
|
|
545
|
+
public static func revocation(options: PixelPaySDK.RevocationTrustEvaluator.Options) throws -> Security.SecPolicy
|
|
546
|
+
}
|
|
547
|
+
extension Swift.Array : PixelPaySDK.AlamofireExtended {
|
|
548
|
+
public typealias ExtendedType = Swift.Array<Element>
|
|
549
|
+
}
|
|
550
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == [Security.SecCertificate] {
|
|
551
|
+
public var data: [Foundation.Data] {
|
|
552
|
+
get
|
|
553
|
+
}
|
|
554
|
+
public var publicKeys: [Security.SecKey] {
|
|
555
|
+
get
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
extension Security.SecCertificate : PixelPaySDK.AlamofireExtended {
|
|
559
|
+
public typealias ExtendedType = Security.SecCertificate
|
|
560
|
+
}
|
|
561
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecCertificate {
|
|
562
|
+
public var publicKey: Security.SecKey? {
|
|
563
|
+
get
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
extension Swift.Int32 : PixelPaySDK.AlamofireExtended {
|
|
567
|
+
public typealias ExtendedType = Swift.Int32
|
|
568
|
+
}
|
|
569
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == Swift.Int32 {
|
|
570
|
+
public var isSuccess: Swift.Bool {
|
|
571
|
+
get
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
extension Security.SecTrustResultType : PixelPaySDK.AlamofireExtended {
|
|
575
|
+
public typealias ExtendedType = Security.SecTrustResultType
|
|
576
|
+
}
|
|
577
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrustResultType {
|
|
578
|
+
public var isSuccess: Swift.Bool {
|
|
579
|
+
get
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
@_inheritsConvenienceInitializers public class NotFoundResponse : PixelPaySDK.Response {
|
|
583
|
+
override public init()
|
|
584
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
585
|
+
@objc deinit
|
|
586
|
+
}
|
|
587
|
+
public class Card {
|
|
588
|
+
public var number: Swift.String?
|
|
589
|
+
public var cvv2: Swift.String?
|
|
590
|
+
public var expire_month: Swift.Int?
|
|
591
|
+
public var expire_year: Swift.Int?
|
|
592
|
+
public var cardholder: Swift.String?
|
|
593
|
+
public init()
|
|
594
|
+
public func getExpireFormat() -> Swift.String
|
|
595
|
+
@objc deinit
|
|
596
|
+
}
|
|
597
|
+
final public class URLEncodedFormEncoder {
|
|
598
|
+
public enum ArrayEncoding {
|
|
599
|
+
case brackets
|
|
600
|
+
case noBrackets
|
|
601
|
+
public static func == (a: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding, b: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding) -> Swift.Bool
|
|
602
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
603
|
+
public var hashValue: Swift.Int {
|
|
604
|
+
get
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
public enum BoolEncoding {
|
|
608
|
+
case numeric
|
|
609
|
+
case literal
|
|
610
|
+
public static func == (a: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding, b: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding) -> Swift.Bool
|
|
611
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
612
|
+
public var hashValue: Swift.Int {
|
|
613
|
+
get
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
public enum DataEncoding {
|
|
617
|
+
case deferredToData
|
|
618
|
+
case base64
|
|
619
|
+
case custom((Foundation.Data) throws -> Swift.String)
|
|
620
|
+
}
|
|
621
|
+
public enum DateEncoding {
|
|
622
|
+
case deferredToDate
|
|
623
|
+
case secondsSince1970
|
|
624
|
+
case millisecondsSince1970
|
|
625
|
+
case iso8601
|
|
626
|
+
case formatted(Foundation.DateFormatter)
|
|
627
|
+
case custom((Foundation.Date) throws -> Swift.String)
|
|
628
|
+
}
|
|
629
|
+
public enum KeyEncoding {
|
|
630
|
+
case useDefaultKeys
|
|
631
|
+
case convertToSnakeCase
|
|
632
|
+
case convertToKebabCase
|
|
633
|
+
case capitalized
|
|
634
|
+
case uppercased
|
|
635
|
+
case lowercased
|
|
636
|
+
case custom((Swift.String) -> Swift.String)
|
|
637
|
+
}
|
|
638
|
+
public enum SpaceEncoding {
|
|
639
|
+
case percentEscaped
|
|
640
|
+
case plusReplaced
|
|
641
|
+
public static func == (a: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding, b: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding) -> Swift.Bool
|
|
642
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
643
|
+
public var hashValue: Swift.Int {
|
|
644
|
+
get
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
public enum Error : Swift.Error {
|
|
648
|
+
case invalidRootObject(Swift.String)
|
|
649
|
+
}
|
|
650
|
+
final public let alphabetizeKeyValuePairs: Swift.Bool
|
|
651
|
+
final public let arrayEncoding: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding
|
|
652
|
+
final public let boolEncoding: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding
|
|
653
|
+
final public let dataEncoding: PixelPaySDK.URLEncodedFormEncoder.DataEncoding
|
|
654
|
+
final public let dateEncoding: PixelPaySDK.URLEncodedFormEncoder.DateEncoding
|
|
655
|
+
final public let keyEncoding: PixelPaySDK.URLEncodedFormEncoder.KeyEncoding
|
|
656
|
+
final public let spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding
|
|
657
|
+
final public var allowedCharacters: Foundation.CharacterSet
|
|
658
|
+
public init(alphabetizeKeyValuePairs: Swift.Bool = true, arrayEncoding: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding = .numeric, dataEncoding: PixelPaySDK.URLEncodedFormEncoder.DataEncoding = .base64, dateEncoding: PixelPaySDK.URLEncodedFormEncoder.DateEncoding = .deferredToDate, keyEncoding: PixelPaySDK.URLEncodedFormEncoder.KeyEncoding = .useDefaultKeys, spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding = .percentEscaped, allowedCharacters: Foundation.CharacterSet = .afURLQueryAllowed)
|
|
659
|
+
final public func encode(_ value: Swift.Encodable) throws -> Swift.String
|
|
660
|
+
final public func encode(_ value: Swift.Encodable) throws -> Foundation.Data
|
|
661
|
+
@objc deinit
|
|
662
|
+
}
|
|
663
|
+
extension Foundation.CharacterSet {
|
|
664
|
+
public static let afURLQueryAllowed: Foundation.CharacterSet
|
|
665
|
+
}
|
|
666
|
+
extension PixelPaySDK.Request {
|
|
667
|
+
public typealias ValidationResult = Swift.Result<Swift.Void, Swift.Error>
|
|
668
|
+
}
|
|
669
|
+
extension PixelPaySDK.DataRequest {
|
|
670
|
+
public typealias Validation = (Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?) -> PixelPaySDK.DataRequest.ValidationResult
|
|
671
|
+
@discardableResult
|
|
672
|
+
public func validate<S>(statusCode acceptableStatusCodes: S) -> Self where S : Swift.Sequence, S.Element == Swift.Int
|
|
673
|
+
@discardableResult
|
|
674
|
+
public func validate<S>(contentType acceptableContentTypes: @autoclosure @escaping () -> S) -> Self where S : Swift.Sequence, S.Element == Swift.String
|
|
675
|
+
@discardableResult
|
|
676
|
+
public func validate() -> Self
|
|
677
|
+
}
|
|
678
|
+
extension PixelPaySDK.DataStreamRequest {
|
|
679
|
+
public typealias Validation = (_ request: Foundation.URLRequest?, _ response: Foundation.HTTPURLResponse) -> PixelPaySDK.DataStreamRequest.ValidationResult
|
|
680
|
+
@discardableResult
|
|
681
|
+
final public func validate<S>(statusCode acceptableStatusCodes: S) -> Self where S : Swift.Sequence, S.Element == Swift.Int
|
|
682
|
+
@discardableResult
|
|
683
|
+
final public func validate<S>(contentType acceptableContentTypes: @autoclosure @escaping () -> S) -> Self where S : Swift.Sequence, S.Element == Swift.String
|
|
684
|
+
@discardableResult
|
|
685
|
+
final public func validate() -> Self
|
|
686
|
+
}
|
|
687
|
+
extension PixelPaySDK.DownloadRequest {
|
|
688
|
+
public typealias Validation = (_ request: Foundation.URLRequest?, _ response: Foundation.HTTPURLResponse, _ fileURL: Foundation.URL?) -> PixelPaySDK.DownloadRequest.ValidationResult
|
|
689
|
+
@discardableResult
|
|
690
|
+
public func validate<S>(statusCode acceptableStatusCodes: S) -> Self where S : Swift.Sequence, S.Element == Swift.Int
|
|
691
|
+
@discardableResult
|
|
692
|
+
public func validate<S>(contentType acceptableContentTypes: @autoclosure @escaping () -> S) -> Self where S : Swift.Sequence, S.Element == Swift.String
|
|
693
|
+
@discardableResult
|
|
694
|
+
public func validate() -> Self
|
|
695
|
+
}
|
|
696
|
+
public class Locations {
|
|
697
|
+
public init() throws
|
|
698
|
+
public static func countriesList() -> [Swift.String : Swift.String]
|
|
699
|
+
public static func statesList(country_code: Swift.String) -> [Swift.String : Swift.String]
|
|
700
|
+
@objc deinit
|
|
701
|
+
}
|
|
702
|
+
public struct HTTPHeaders {
|
|
703
|
+
public init()
|
|
704
|
+
public init(_ headers: [PixelPaySDK.HTTPHeader])
|
|
705
|
+
public init(_ dictionary: [Swift.String : Swift.String])
|
|
706
|
+
public mutating func add(name: Swift.String, value: Swift.String)
|
|
707
|
+
public mutating func add(_ header: PixelPaySDK.HTTPHeader)
|
|
708
|
+
public mutating func update(name: Swift.String, value: Swift.String)
|
|
709
|
+
public mutating func update(_ header: PixelPaySDK.HTTPHeader)
|
|
710
|
+
public mutating func remove(name: Swift.String)
|
|
711
|
+
public mutating func sort()
|
|
712
|
+
public func sorted() -> PixelPaySDK.HTTPHeaders
|
|
713
|
+
public func value(for name: Swift.String) -> Swift.String?
|
|
714
|
+
public subscript(name: Swift.String) -> Swift.String? {
|
|
715
|
+
get
|
|
716
|
+
set
|
|
717
|
+
}
|
|
718
|
+
public var dictionary: [Swift.String : Swift.String] {
|
|
719
|
+
get
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
extension PixelPaySDK.HTTPHeaders : Swift.ExpressibleByDictionaryLiteral {
|
|
723
|
+
public init(dictionaryLiteral elements: (Swift.String, Swift.String)...)
|
|
724
|
+
public typealias Key = Swift.String
|
|
725
|
+
public typealias Value = Swift.String
|
|
726
|
+
}
|
|
727
|
+
extension PixelPaySDK.HTTPHeaders : Swift.ExpressibleByArrayLiteral {
|
|
728
|
+
public init(arrayLiteral elements: PixelPaySDK.HTTPHeader...)
|
|
729
|
+
public typealias ArrayLiteralElement = PixelPaySDK.HTTPHeader
|
|
730
|
+
}
|
|
731
|
+
extension PixelPaySDK.HTTPHeaders : Swift.Sequence {
|
|
732
|
+
public func makeIterator() -> Swift.IndexingIterator<[PixelPaySDK.HTTPHeader]>
|
|
733
|
+
}
|
|
734
|
+
extension PixelPaySDK.HTTPHeaders : Swift.Collection {
|
|
735
|
+
public var startIndex: Swift.Int {
|
|
736
|
+
get
|
|
737
|
+
}
|
|
738
|
+
public var endIndex: Swift.Int {
|
|
739
|
+
get
|
|
740
|
+
}
|
|
741
|
+
public subscript(position: Swift.Int) -> PixelPaySDK.HTTPHeader {
|
|
742
|
+
get
|
|
743
|
+
}
|
|
744
|
+
public func index(after i: Swift.Int) -> Swift.Int
|
|
745
|
+
public typealias Element = PixelPaySDK.HTTPHeader
|
|
746
|
+
public typealias Index = Swift.Int
|
|
747
|
+
public typealias Indices = Swift.DefaultIndices<PixelPaySDK.HTTPHeaders>
|
|
748
|
+
public typealias Iterator = Swift.IndexingIterator<[PixelPaySDK.HTTPHeader]>
|
|
749
|
+
public typealias SubSequence = Swift.Slice<PixelPaySDK.HTTPHeaders>
|
|
750
|
+
}
|
|
751
|
+
extension PixelPaySDK.HTTPHeaders : Swift.CustomStringConvertible {
|
|
752
|
+
public var description: Swift.String {
|
|
753
|
+
get
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
public struct HTTPHeader : Swift.Hashable {
|
|
757
|
+
public let name: Swift.String
|
|
758
|
+
public let value: Swift.String
|
|
759
|
+
public init(name: Swift.String, value: Swift.String)
|
|
760
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
761
|
+
public static func == (a: PixelPaySDK.HTTPHeader, b: PixelPaySDK.HTTPHeader) -> Swift.Bool
|
|
762
|
+
public var hashValue: Swift.Int {
|
|
763
|
+
get
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
extension PixelPaySDK.HTTPHeader : Swift.CustomStringConvertible {
|
|
767
|
+
public var description: Swift.String {
|
|
768
|
+
get
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
extension PixelPaySDK.HTTPHeader {
|
|
772
|
+
public static func accept(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
773
|
+
public static func acceptCharset(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
774
|
+
public static func acceptLanguage(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
775
|
+
public static func acceptEncoding(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
776
|
+
public static func authorization(username: Swift.String, password: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
777
|
+
public static func authorization(bearerToken: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
778
|
+
public static func authorization(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
779
|
+
public static func contentDisposition(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
780
|
+
public static func contentType(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
781
|
+
public static func userAgent(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
|
|
782
|
+
}
|
|
783
|
+
extension PixelPaySDK.HTTPHeaders {
|
|
784
|
+
public static let `default`: PixelPaySDK.HTTPHeaders
|
|
785
|
+
}
|
|
786
|
+
extension PixelPaySDK.HTTPHeader {
|
|
787
|
+
public static let defaultAcceptEncoding: PixelPaySDK.HTTPHeader
|
|
788
|
+
public static let defaultAcceptLanguage: PixelPaySDK.HTTPHeader
|
|
789
|
+
public static let defaultUserAgent: PixelPaySDK.HTTPHeader
|
|
790
|
+
}
|
|
791
|
+
extension Foundation.URLRequest {
|
|
792
|
+
public var headers: PixelPaySDK.HTTPHeaders {
|
|
793
|
+
get
|
|
794
|
+
set
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
extension Foundation.HTTPURLResponse {
|
|
798
|
+
public var headers: PixelPaySDK.HTTPHeaders {
|
|
799
|
+
get
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
extension Foundation.URLSessionConfiguration {
|
|
803
|
+
public var headers: PixelPaySDK.HTTPHeaders {
|
|
804
|
+
get
|
|
805
|
+
set
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
@_inheritsConvenienceInitializers public class NetworkFailureResponse : PixelPaySDK.Response {
|
|
809
|
+
override public init()
|
|
810
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
811
|
+
@objc deinit
|
|
812
|
+
}
|
|
813
|
+
@_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
|
|
814
|
+
public func doSale(transaction: PixelPaySDK.SaleTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
815
|
+
public func doAuth(transaction: PixelPaySDK.AuthTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
816
|
+
public func doCapture(transaction: PixelPaySDK.CaptureTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
817
|
+
public func doVoid(transaction: PixelPaySDK.VoidTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
818
|
+
public func getStatus(transaction: PixelPaySDK.StatusTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
819
|
+
public func verifyPaymentHash(hash: Swift.String?, order_id: Swift.String?, secret: Swift.String) -> Swift.Bool
|
|
820
|
+
public func getCybersourceFingerprint(merchant_id: Swift.String, org_id: Swift.String, on_response: @escaping (Swift.String) -> Swift.Void)
|
|
821
|
+
override public init(settings: PixelPaySDK.Settings)
|
|
822
|
+
@objc deinit
|
|
823
|
+
}
|
|
824
|
+
public protocol CachedResponseHandler {
|
|
825
|
+
func dataTask(_ task: Foundation.URLSessionDataTask, willCacheResponse response: Foundation.CachedURLResponse, completion: @escaping (Foundation.CachedURLResponse?) -> Swift.Void)
|
|
826
|
+
}
|
|
827
|
+
public struct ResponseCacher {
|
|
828
|
+
public enum Behavior {
|
|
829
|
+
case cache
|
|
830
|
+
case doNotCache
|
|
831
|
+
case modify((Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Foundation.CachedURLResponse?)
|
|
832
|
+
}
|
|
833
|
+
public static let cache: PixelPaySDK.ResponseCacher
|
|
834
|
+
public static let doNotCache: PixelPaySDK.ResponseCacher
|
|
835
|
+
public let behavior: PixelPaySDK.ResponseCacher.Behavior
|
|
836
|
+
public init(behavior: PixelPaySDK.ResponseCacher.Behavior)
|
|
837
|
+
}
|
|
838
|
+
extension PixelPaySDK.ResponseCacher : PixelPaySDK.CachedResponseHandler {
|
|
839
|
+
public func dataTask(_ task: Foundation.URLSessionDataTask, willCacheResponse response: Foundation.CachedURLResponse, completion: @escaping (Foundation.CachedURLResponse?) -> Swift.Void)
|
|
840
|
+
}
|
|
841
|
+
open class Session {
|
|
842
|
+
public static let `default`: PixelPaySDK.Session
|
|
843
|
+
final public let session: Foundation.URLSession
|
|
844
|
+
final public let delegate: PixelPaySDK.SessionDelegate
|
|
845
|
+
final public let rootQueue: Dispatch.DispatchQueue
|
|
846
|
+
final public let startRequestsImmediately: Swift.Bool
|
|
847
|
+
final public let requestQueue: Dispatch.DispatchQueue
|
|
848
|
+
final public let serializationQueue: Dispatch.DispatchQueue
|
|
849
|
+
final public let interceptor: PixelPaySDK.RequestInterceptor?
|
|
850
|
+
final public let serverTrustManager: PixelPaySDK.ServerTrustManager?
|
|
851
|
+
final public let redirectHandler: PixelPaySDK.RedirectHandler?
|
|
852
|
+
final public let cachedResponseHandler: PixelPaySDK.CachedResponseHandler?
|
|
853
|
+
final public let eventMonitor: PixelPaySDK.CompositeEventMonitor
|
|
854
|
+
final public let defaultEventMonitors: [PixelPaySDK.EventMonitor]
|
|
855
|
+
public init(session: Foundation.URLSession, delegate: PixelPaySDK.SessionDelegate, rootQueue: Dispatch.DispatchQueue, startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: PixelPaySDK.RedirectHandler? = nil, cachedResponseHandler: PixelPaySDK.CachedResponseHandler? = nil, eventMonitors: [PixelPaySDK.EventMonitor] = [])
|
|
856
|
+
convenience public init(configuration: Foundation.URLSessionConfiguration = URLSessionConfiguration.af.default, delegate: PixelPaySDK.SessionDelegate = SessionDelegate(), rootQueue: Dispatch.DispatchQueue = DispatchQueue(label: "org.alamofire.session.rootQueue"), startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: PixelPaySDK.RedirectHandler? = nil, cachedResponseHandler: PixelPaySDK.CachedResponseHandler? = nil, eventMonitors: [PixelPaySDK.EventMonitor] = [])
|
|
857
|
+
@objc deinit
|
|
858
|
+
public func withAllRequests(perform action: @escaping (Swift.Set<PixelPaySDK.Request>) -> Swift.Void)
|
|
859
|
+
public func cancelAllRequests(completingOnQueue queue: Dispatch.DispatchQueue = .main, completion: (() -> Swift.Void)? = nil)
|
|
860
|
+
public typealias RequestModifier = (inout Foundation.URLRequest) throws -> Swift.Void
|
|
861
|
+
open func request(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest
|
|
862
|
+
open func request<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest where Parameters : Swift.Encodable
|
|
863
|
+
open func request(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataRequest
|
|
864
|
+
open func streamRequest<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest where Parameters : Swift.Encodable
|
|
865
|
+
open func streamRequest(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest
|
|
866
|
+
open func streamRequest(_ convertible: PixelPaySDK.URLRequestConvertible, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataStreamRequest
|
|
867
|
+
open func download(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
|
|
868
|
+
open func download<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest where Parameters : Swift.Encodable
|
|
869
|
+
open func download(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
|
|
870
|
+
open func download(resumingWith data: Foundation.Data, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
|
|
871
|
+
open func upload(_ data: Foundation.Data, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
|
|
872
|
+
open func upload(_ data: Foundation.Data, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
873
|
+
open func upload(_ fileURL: Foundation.URL, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
|
|
874
|
+
open func upload(_ fileURL: Foundation.URL, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
875
|
+
open func upload(_ stream: Foundation.InputStream, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
|
|
876
|
+
open func upload(_ stream: Foundation.InputStream, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
877
|
+
open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, to url: PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
|
|
878
|
+
open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, with request: PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
879
|
+
open func upload(multipartFormData: PixelPaySDK.MultipartFormData, to url: PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
|
|
880
|
+
open func upload(multipartFormData: PixelPaySDK.MultipartFormData, with request: PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
881
|
+
}
|
|
882
|
+
extension PixelPaySDK.Session : PixelPaySDK.RequestDelegate {
|
|
883
|
+
public var sessionConfiguration: Foundation.URLSessionConfiguration {
|
|
884
|
+
get
|
|
885
|
+
}
|
|
886
|
+
public var startImmediately: Swift.Bool {
|
|
887
|
+
get
|
|
888
|
+
}
|
|
889
|
+
public func cleanup(after request: PixelPaySDK.Request)
|
|
890
|
+
public func retryResult(for request: PixelPaySDK.Request, dueTo error: PixelPaySDK.AFError, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
891
|
+
public func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
|
|
892
|
+
}
|
|
893
|
+
public enum AFError : Swift.Error {
|
|
894
|
+
public enum MultipartEncodingFailureReason {
|
|
895
|
+
case bodyPartURLInvalid(url: Foundation.URL)
|
|
896
|
+
case bodyPartFilenameInvalid(in: Foundation.URL)
|
|
897
|
+
case bodyPartFileNotReachable(at: Foundation.URL)
|
|
898
|
+
case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: Swift.Error)
|
|
899
|
+
case bodyPartFileIsDirectory(at: Foundation.URL)
|
|
900
|
+
case bodyPartFileSizeNotAvailable(at: Foundation.URL)
|
|
901
|
+
case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: Swift.Error)
|
|
902
|
+
case bodyPartInputStreamCreationFailed(for: Foundation.URL)
|
|
903
|
+
case outputStreamCreationFailed(for: Foundation.URL)
|
|
904
|
+
case outputStreamFileAlreadyExists(at: Foundation.URL)
|
|
905
|
+
case outputStreamURLInvalid(url: Foundation.URL)
|
|
906
|
+
case outputStreamWriteFailed(error: Swift.Error)
|
|
907
|
+
case inputStreamReadFailed(error: Swift.Error)
|
|
908
|
+
}
|
|
909
|
+
public struct UnexpectedInputStreamLength : Swift.Error {
|
|
910
|
+
public var bytesExpected: Swift.UInt64
|
|
911
|
+
public var bytesRead: Swift.UInt64
|
|
912
|
+
}
|
|
913
|
+
public enum ParameterEncodingFailureReason {
|
|
914
|
+
case missingURL
|
|
915
|
+
case jsonEncodingFailed(error: Swift.Error)
|
|
916
|
+
case customEncodingFailed(error: Swift.Error)
|
|
917
|
+
}
|
|
918
|
+
public enum ParameterEncoderFailureReason {
|
|
919
|
+
public enum RequiredComponent {
|
|
920
|
+
case url
|
|
921
|
+
case httpMethod(rawValue: Swift.String)
|
|
922
|
+
}
|
|
923
|
+
case missingRequiredComponent(PixelPaySDK.AFError.ParameterEncoderFailureReason.RequiredComponent)
|
|
924
|
+
case encoderFailed(error: Swift.Error)
|
|
925
|
+
}
|
|
926
|
+
public enum ResponseValidationFailureReason {
|
|
927
|
+
case dataFileNil
|
|
928
|
+
case dataFileReadFailed(at: Foundation.URL)
|
|
929
|
+
case missingContentType(acceptableContentTypes: [Swift.String])
|
|
930
|
+
case unacceptableContentType(acceptableContentTypes: [Swift.String], responseContentType: Swift.String)
|
|
931
|
+
case unacceptableStatusCode(code: Swift.Int)
|
|
932
|
+
case customValidationFailed(error: Swift.Error)
|
|
933
|
+
}
|
|
934
|
+
public enum ResponseSerializationFailureReason {
|
|
935
|
+
case inputDataNilOrZeroLength
|
|
936
|
+
case inputFileNil
|
|
937
|
+
case inputFileReadFailed(at: Foundation.URL)
|
|
938
|
+
case stringSerializationFailed(encoding: Swift.String.Encoding)
|
|
939
|
+
case jsonSerializationFailed(error: Swift.Error)
|
|
940
|
+
case decodingFailed(error: Swift.Error)
|
|
941
|
+
case customSerializationFailed(error: Swift.Error)
|
|
942
|
+
case invalidEmptyResponse(type: Swift.String)
|
|
943
|
+
}
|
|
944
|
+
public enum ServerTrustFailureReason {
|
|
945
|
+
public struct Output {
|
|
946
|
+
public let host: Swift.String
|
|
947
|
+
public let trust: Security.SecTrust
|
|
948
|
+
public let status: Darwin.OSStatus
|
|
949
|
+
public let result: Security.SecTrustResultType
|
|
950
|
+
}
|
|
951
|
+
case noRequiredEvaluator(host: Swift.String)
|
|
952
|
+
case noCertificatesFound
|
|
953
|
+
case noPublicKeysFound
|
|
954
|
+
case policyApplicationFailed(trust: Security.SecTrust, policy: Security.SecPolicy, status: Darwin.OSStatus)
|
|
955
|
+
case settingAnchorCertificatesFailed(status: Darwin.OSStatus, certificates: [Security.SecCertificate])
|
|
956
|
+
case revocationPolicyCreationFailed
|
|
957
|
+
case trustEvaluationFailed(error: Swift.Error?)
|
|
958
|
+
case defaultEvaluationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
|
|
959
|
+
case hostValidationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
|
|
960
|
+
case revocationCheckFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output, options: PixelPaySDK.RevocationTrustEvaluator.Options)
|
|
961
|
+
case certificatePinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedCertificates: [Security.SecCertificate], serverCertificates: [Security.SecCertificate])
|
|
962
|
+
case publicKeyPinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedKeys: [Security.SecKey], serverKeys: [Security.SecKey])
|
|
963
|
+
case customEvaluationFailed(error: Swift.Error)
|
|
964
|
+
}
|
|
965
|
+
public enum URLRequestValidationFailureReason {
|
|
966
|
+
case bodyDataInGETRequest(Foundation.Data)
|
|
967
|
+
}
|
|
968
|
+
case createUploadableFailed(error: Swift.Error)
|
|
969
|
+
case createURLRequestFailed(error: Swift.Error)
|
|
970
|
+
case downloadedFileMoveFailed(error: Swift.Error, source: Foundation.URL, destination: Foundation.URL)
|
|
971
|
+
case explicitlyCancelled
|
|
972
|
+
case invalidURL(url: PixelPaySDK.URLConvertible)
|
|
973
|
+
case multipartEncodingFailed(reason: PixelPaySDK.AFError.MultipartEncodingFailureReason)
|
|
974
|
+
case parameterEncodingFailed(reason: PixelPaySDK.AFError.ParameterEncodingFailureReason)
|
|
975
|
+
case parameterEncoderFailed(reason: PixelPaySDK.AFError.ParameterEncoderFailureReason)
|
|
976
|
+
case requestAdaptationFailed(error: Swift.Error)
|
|
977
|
+
case requestRetryFailed(retryError: Swift.Error, originalError: Swift.Error)
|
|
978
|
+
case responseValidationFailed(reason: PixelPaySDK.AFError.ResponseValidationFailureReason)
|
|
979
|
+
case responseSerializationFailed(reason: PixelPaySDK.AFError.ResponseSerializationFailureReason)
|
|
980
|
+
case serverTrustEvaluationFailed(reason: PixelPaySDK.AFError.ServerTrustFailureReason)
|
|
981
|
+
case sessionDeinitialized
|
|
982
|
+
case sessionInvalidated(error: Swift.Error?)
|
|
983
|
+
case sessionTaskFailed(error: Swift.Error)
|
|
984
|
+
case urlRequestValidationFailed(reason: PixelPaySDK.AFError.URLRequestValidationFailureReason)
|
|
985
|
+
}
|
|
986
|
+
extension Swift.Error {
|
|
987
|
+
public var asAFError: PixelPaySDK.AFError? {
|
|
988
|
+
get
|
|
989
|
+
}
|
|
990
|
+
public func asAFError(orFailWith message: @autoclosure () -> Swift.String, file: Swift.StaticString = #file, line: Swift.UInt = #line) -> PixelPaySDK.AFError
|
|
991
|
+
}
|
|
992
|
+
extension PixelPaySDK.AFError {
|
|
993
|
+
public var isSessionDeinitializedError: Swift.Bool {
|
|
994
|
+
get
|
|
995
|
+
}
|
|
996
|
+
public var isSessionInvalidatedError: Swift.Bool {
|
|
997
|
+
get
|
|
998
|
+
}
|
|
999
|
+
public var isExplicitlyCancelledError: Swift.Bool {
|
|
1000
|
+
get
|
|
1001
|
+
}
|
|
1002
|
+
public var isInvalidURLError: Swift.Bool {
|
|
1003
|
+
get
|
|
1004
|
+
}
|
|
1005
|
+
public var isParameterEncodingError: Swift.Bool {
|
|
1006
|
+
get
|
|
1007
|
+
}
|
|
1008
|
+
public var isParameterEncoderError: Swift.Bool {
|
|
1009
|
+
get
|
|
1010
|
+
}
|
|
1011
|
+
public var isMultipartEncodingError: Swift.Bool {
|
|
1012
|
+
get
|
|
1013
|
+
}
|
|
1014
|
+
public var isRequestAdaptationError: Swift.Bool {
|
|
1015
|
+
get
|
|
1016
|
+
}
|
|
1017
|
+
public var isResponseValidationError: Swift.Bool {
|
|
1018
|
+
get
|
|
1019
|
+
}
|
|
1020
|
+
public var isResponseSerializationError: Swift.Bool {
|
|
1021
|
+
get
|
|
1022
|
+
}
|
|
1023
|
+
public var isServerTrustEvaluationError: Swift.Bool {
|
|
1024
|
+
get
|
|
1025
|
+
}
|
|
1026
|
+
public var isRequestRetryError: Swift.Bool {
|
|
1027
|
+
get
|
|
1028
|
+
}
|
|
1029
|
+
public var isCreateUploadableError: Swift.Bool {
|
|
1030
|
+
get
|
|
1031
|
+
}
|
|
1032
|
+
public var isCreateURLRequestError: Swift.Bool {
|
|
1033
|
+
get
|
|
1034
|
+
}
|
|
1035
|
+
public var isDownloadedFileMoveError: Swift.Bool {
|
|
1036
|
+
get
|
|
1037
|
+
}
|
|
1038
|
+
public var isSessionTaskError: Swift.Bool {
|
|
1039
|
+
get
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
extension PixelPaySDK.AFError {
|
|
1043
|
+
public var urlConvertible: PixelPaySDK.URLConvertible? {
|
|
1044
|
+
get
|
|
1045
|
+
}
|
|
1046
|
+
public var url: Foundation.URL? {
|
|
1047
|
+
get
|
|
1048
|
+
}
|
|
1049
|
+
public var underlyingError: Swift.Error? {
|
|
1050
|
+
get
|
|
1051
|
+
}
|
|
1052
|
+
public var acceptableContentTypes: [Swift.String]? {
|
|
1053
|
+
get
|
|
1054
|
+
}
|
|
1055
|
+
public var responseContentType: Swift.String? {
|
|
1056
|
+
get
|
|
1057
|
+
}
|
|
1058
|
+
public var responseCode: Swift.Int? {
|
|
1059
|
+
get
|
|
1060
|
+
}
|
|
1061
|
+
public var failedStringEncoding: Swift.String.Encoding? {
|
|
1062
|
+
get
|
|
1063
|
+
}
|
|
1064
|
+
public var sourceURL: Foundation.URL? {
|
|
1065
|
+
get
|
|
1066
|
+
}
|
|
1067
|
+
public var destinationURL: Foundation.URL? {
|
|
1068
|
+
get
|
|
1069
|
+
}
|
|
1070
|
+
public var downloadResumeData: Foundation.Data? {
|
|
1071
|
+
get
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
extension PixelPaySDK.AFError : Foundation.LocalizedError {
|
|
1075
|
+
public var errorDescription: Swift.String? {
|
|
1076
|
+
get
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
public class Settings : Swift.Codable {
|
|
1080
|
+
public var auth_key: Swift.String?
|
|
1081
|
+
public var auth_hash: Swift.String?
|
|
1082
|
+
public var auth_user: Swift.String?
|
|
1083
|
+
public var endpoint: Swift.String?
|
|
1084
|
+
public var environment: Swift.String?
|
|
1085
|
+
public var lang: Swift.String?
|
|
1086
|
+
public init()
|
|
1087
|
+
public func setupEndpoint(endpoint: Swift.String)
|
|
1088
|
+
public func setupCredentials(key: Swift.String, hash: Swift.String)
|
|
1089
|
+
public func setupPlatformUser(hash: Swift.String)
|
|
1090
|
+
public func setupEnvironment(env: Swift.String)
|
|
1091
|
+
public func setupSandbox()
|
|
1092
|
+
public func setupLanguage(lang: Swift.String)
|
|
1093
|
+
@objc deinit
|
|
1094
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
1095
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1096
|
+
}
|
|
1097
|
+
@_inheritsConvenienceInitializers public class NoAccessResponse : PixelPaySDK.Response {
|
|
1098
|
+
override public init()
|
|
1099
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1100
|
+
@objc deinit
|
|
1101
|
+
}
|
|
1102
|
+
public protocol EventMonitor {
|
|
1103
|
+
var queue: Dispatch.DispatchQueue { get }
|
|
1104
|
+
func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1105
|
+
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1106
|
+
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1107
|
+
func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1108
|
+
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1109
|
+
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1110
|
+
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
|
|
1111
|
+
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
1112
|
+
func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1113
|
+
func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
1114
|
+
func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
|
|
1115
|
+
func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
|
|
1116
|
+
func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
|
|
1117
|
+
func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
|
|
1118
|
+
func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
|
|
1119
|
+
func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
|
|
1120
|
+
func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
|
|
1121
|
+
func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
|
|
1122
|
+
func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
|
|
1123
|
+
func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
|
|
1124
|
+
func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
|
|
1125
|
+
func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
|
|
1126
|
+
func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
|
|
1127
|
+
func requestIsRetrying(_ request: PixelPaySDK.Request)
|
|
1128
|
+
func requestDidFinish(_ request: PixelPaySDK.Request)
|
|
1129
|
+
func requestDidResume(_ request: PixelPaySDK.Request)
|
|
1130
|
+
func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
|
|
1131
|
+
func requestDidSuspend(_ request: PixelPaySDK.Request)
|
|
1132
|
+
func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
|
|
1133
|
+
func requestDidCancel(_ request: PixelPaySDK.Request)
|
|
1134
|
+
func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
|
|
1135
|
+
func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1136
|
+
func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
|
|
1137
|
+
func request<Value>(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>)
|
|
1138
|
+
func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1139
|
+
func request<Value>(_ request: PixelPaySDK.DataStreamRequest, didParseStream result: Swift.Result<Value, PixelPaySDK.AFError>)
|
|
1140
|
+
func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
|
|
1141
|
+
func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
|
|
1142
|
+
func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
|
|
1143
|
+
func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
|
|
1144
|
+
func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
|
|
1145
|
+
func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1146
|
+
func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
|
|
1147
|
+
func request<Value>(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>)
|
|
1148
|
+
}
|
|
1149
|
+
extension PixelPaySDK.EventMonitor {
|
|
1150
|
+
public var queue: Dispatch.DispatchQueue {
|
|
1151
|
+
get
|
|
1152
|
+
}
|
|
1153
|
+
public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1154
|
+
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1155
|
+
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1156
|
+
public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1157
|
+
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1158
|
+
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1159
|
+
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
|
|
1160
|
+
public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1161
|
+
public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
1162
|
+
public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
|
|
1163
|
+
public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
|
|
1164
|
+
public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
|
|
1165
|
+
public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
|
|
1166
|
+
public func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
|
|
1167
|
+
public func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
|
|
1168
|
+
public func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
|
|
1169
|
+
public func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
|
|
1170
|
+
public func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
|
|
1171
|
+
public func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
|
|
1172
|
+
public func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
|
|
1173
|
+
public func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
|
|
1174
|
+
public func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
|
|
1175
|
+
public func requestIsRetrying(_ request: PixelPaySDK.Request)
|
|
1176
|
+
public func requestDidFinish(_ request: PixelPaySDK.Request)
|
|
1177
|
+
public func requestDidResume(_ request: PixelPaySDK.Request)
|
|
1178
|
+
public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
|
|
1179
|
+
public func requestDidSuspend(_ request: PixelPaySDK.Request)
|
|
1180
|
+
public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
|
|
1181
|
+
public func requestDidCancel(_ request: PixelPaySDK.Request)
|
|
1182
|
+
public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
|
|
1183
|
+
public func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1184
|
+
public func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
|
|
1185
|
+
public func request<Value>(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>)
|
|
1186
|
+
public func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1187
|
+
public func request<Value>(_ request: PixelPaySDK.DataStreamRequest, didParseStream result: Swift.Result<Value, PixelPaySDK.AFError>)
|
|
1188
|
+
public func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
|
|
1189
|
+
public func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
|
|
1190
|
+
public func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
|
|
1191
|
+
public func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
|
|
1192
|
+
public func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
|
|
1193
|
+
public func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1194
|
+
public func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
|
|
1195
|
+
public func request<Value>(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>)
|
|
1196
|
+
}
|
|
1197
|
+
@_hasMissingDesignatedInitializers final public class CompositeEventMonitor : PixelPaySDK.EventMonitor {
|
|
1198
|
+
final public let queue: Dispatch.DispatchQueue
|
|
1199
|
+
final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1200
|
+
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1201
|
+
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1202
|
+
final public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1203
|
+
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1204
|
+
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1205
|
+
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
|
|
1206
|
+
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
1207
|
+
final public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1208
|
+
final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
1209
|
+
final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
|
|
1210
|
+
final public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
|
|
1211
|
+
final public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
|
|
1212
|
+
final public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
|
|
1213
|
+
final public func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
|
|
1214
|
+
final public func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
|
|
1215
|
+
final public func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
|
|
1216
|
+
final public func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
|
|
1217
|
+
final public func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
|
|
1218
|
+
final public func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
|
|
1219
|
+
final public func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
|
|
1220
|
+
final public func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
|
|
1221
|
+
final public func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
|
|
1222
|
+
final public func requestIsRetrying(_ request: PixelPaySDK.Request)
|
|
1223
|
+
final public func requestDidFinish(_ request: PixelPaySDK.Request)
|
|
1224
|
+
final public func requestDidResume(_ request: PixelPaySDK.Request)
|
|
1225
|
+
final public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
|
|
1226
|
+
final public func requestDidSuspend(_ request: PixelPaySDK.Request)
|
|
1227
|
+
final public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
|
|
1228
|
+
final public func requestDidCancel(_ request: PixelPaySDK.Request)
|
|
1229
|
+
final public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
|
|
1230
|
+
final public func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1231
|
+
final public func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
|
|
1232
|
+
final public func request<Value>(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>)
|
|
1233
|
+
final public func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1234
|
+
final public func request<Value>(_ request: PixelPaySDK.DataStreamRequest, didParseStream result: Swift.Result<Value, PixelPaySDK.AFError>)
|
|
1235
|
+
final public func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
|
|
1236
|
+
final public func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
|
|
1237
|
+
final public func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
|
|
1238
|
+
final public func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
|
|
1239
|
+
final public func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
|
|
1240
|
+
final public func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1241
|
+
final public func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
|
|
1242
|
+
final public func request<Value>(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>)
|
|
1243
|
+
@objc deinit
|
|
1244
|
+
}
|
|
1245
|
+
open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
|
|
1246
|
+
open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, Swift.Error?) -> Swift.Void)?
|
|
1247
|
+
open var taskDidReceiveChallenge: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLAuthenticationChallenge) -> Swift.Void)?
|
|
1248
|
+
open var taskDidSendBodyData: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
|
|
1249
|
+
open var taskNeedNewBodyStream: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1250
|
+
open var taskWillPerformHTTPRedirection: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.HTTPURLResponse, Foundation.URLRequest) -> Swift.Void)?
|
|
1251
|
+
open var taskDidFinishCollectingMetrics: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
|
|
1252
|
+
open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Error?) -> Swift.Void)?
|
|
1253
|
+
open var taskIsWaitingForConnectivity: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1254
|
+
open var dataTaskDidReceiveData: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.Data) -> Swift.Void)?
|
|
1255
|
+
open var dataTaskWillCacheResponse: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Swift.Void)?
|
|
1256
|
+
open var downloadTaskDidFinishDownloadingToURL: ((Foundation.URLSession, Foundation.URLSessionDownloadTask, Foundation.URL) -> Swift.Void)?
|
|
1257
|
+
open var downloadTaskDidWriteData: ((Foundation.URLSession, Foundation.URLSessionDownloadTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
|
|
1258
|
+
open var downloadTaskDidResumeAtOffset: ((Foundation.URLSession, Foundation.URLSessionDownloadTask, Swift.Int64, Swift.Int64) -> Swift.Void)?
|
|
1259
|
+
open var requestDidCreateInitialURLRequest: ((PixelPaySDK.Request, Foundation.URLRequest) -> Swift.Void)?
|
|
1260
|
+
open var requestDidFailToCreateURLRequestWithError: ((PixelPaySDK.Request, PixelPaySDK.AFError) -> Swift.Void)?
|
|
1261
|
+
open var requestDidAdaptInitialRequestToAdaptedRequest: ((PixelPaySDK.Request, Foundation.URLRequest, Foundation.URLRequest) -> Swift.Void)?
|
|
1262
|
+
open var requestDidFailToAdaptURLRequestWithError: ((PixelPaySDK.Request, Foundation.URLRequest, PixelPaySDK.AFError) -> Swift.Void)?
|
|
1263
|
+
open var requestDidCreateURLRequest: ((PixelPaySDK.Request, Foundation.URLRequest) -> Swift.Void)?
|
|
1264
|
+
open var requestDidCreateTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1265
|
+
open var requestDidGatherMetrics: ((PixelPaySDK.Request, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
|
|
1266
|
+
open var requestDidFailTaskEarlyWithError: ((PixelPaySDK.Request, Foundation.URLSessionTask, PixelPaySDK.AFError) -> Swift.Void)?
|
|
1267
|
+
open var requestDidCompleteTaskWithError: ((PixelPaySDK.Request, Foundation.URLSessionTask, PixelPaySDK.AFError?) -> Swift.Void)?
|
|
1268
|
+
open var requestIsRetrying: ((PixelPaySDK.Request) -> Swift.Void)?
|
|
1269
|
+
open var requestDidFinish: ((PixelPaySDK.Request) -> Swift.Void)?
|
|
1270
|
+
open var requestDidResume: ((PixelPaySDK.Request) -> Swift.Void)?
|
|
1271
|
+
open var requestDidResumeTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1272
|
+
open var requestDidSuspend: ((PixelPaySDK.Request) -> Swift.Void)?
|
|
1273
|
+
open var requestDidSuspendTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1274
|
+
open var requestDidCancel: ((PixelPaySDK.Request) -> Swift.Void)?
|
|
1275
|
+
open var requestDidCancelTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1276
|
+
open var requestDidValidateRequestResponseDataWithResult: ((PixelPaySDK.DataRequest, Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?, PixelPaySDK.Request.ValidationResult) -> Swift.Void)?
|
|
1277
|
+
open var requestDidParseResponse: ((PixelPaySDK.DataRequest, PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>) -> Swift.Void)?
|
|
1278
|
+
open var requestDidValidateRequestResponseWithResult: ((PixelPaySDK.DataStreamRequest, Foundation.URLRequest?, Foundation.HTTPURLResponse, PixelPaySDK.Request.ValidationResult) -> Swift.Void)?
|
|
1279
|
+
open var requestDidCreateUploadable: ((PixelPaySDK.UploadRequest, PixelPaySDK.UploadRequest.Uploadable) -> Swift.Void)?
|
|
1280
|
+
open var requestDidFailToCreateUploadableWithError: ((PixelPaySDK.UploadRequest, PixelPaySDK.AFError) -> Swift.Void)?
|
|
1281
|
+
open var requestDidProvideInputStream: ((PixelPaySDK.UploadRequest, Foundation.InputStream) -> Swift.Void)?
|
|
1282
|
+
open var requestDidFinishDownloadingUsingTaskWithResult: ((PixelPaySDK.DownloadRequest, Foundation.URLSessionTask, Swift.Result<Foundation.URL, PixelPaySDK.AFError>) -> Swift.Void)?
|
|
1283
|
+
open var requestDidCreateDestinationURL: ((PixelPaySDK.DownloadRequest, Foundation.URL) -> Swift.Void)?
|
|
1284
|
+
open var requestDidValidateRequestResponseFileURLWithResult: ((PixelPaySDK.DownloadRequest, Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.URL?, PixelPaySDK.Request.ValidationResult) -> Swift.Void)?
|
|
1285
|
+
open var requestDidParseDownloadResponse: ((PixelPaySDK.DownloadRequest, PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>) -> Swift.Void)?
|
|
1286
|
+
final public let queue: Dispatch.DispatchQueue
|
|
1287
|
+
public init(queue: Dispatch.DispatchQueue = .main)
|
|
1288
|
+
open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1289
|
+
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1290
|
+
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1291
|
+
open func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1292
|
+
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1293
|
+
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1294
|
+
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
|
|
1295
|
+
open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1296
|
+
open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
1297
|
+
open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
|
|
1298
|
+
open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
|
|
1299
|
+
open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
|
|
1300
|
+
open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
|
|
1301
|
+
open func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
|
|
1302
|
+
open func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
|
|
1303
|
+
open func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
|
|
1304
|
+
open func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
|
|
1305
|
+
open func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
|
|
1306
|
+
open func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
|
|
1307
|
+
open func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
|
|
1308
|
+
open func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
|
|
1309
|
+
open func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
|
|
1310
|
+
open func requestIsRetrying(_ request: PixelPaySDK.Request)
|
|
1311
|
+
open func requestDidFinish(_ request: PixelPaySDK.Request)
|
|
1312
|
+
open func requestDidResume(_ request: PixelPaySDK.Request)
|
|
1313
|
+
public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
|
|
1314
|
+
open func requestDidSuspend(_ request: PixelPaySDK.Request)
|
|
1315
|
+
public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
|
|
1316
|
+
open func requestDidCancel(_ request: PixelPaySDK.Request)
|
|
1317
|
+
public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
|
|
1318
|
+
open func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1319
|
+
open func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
|
|
1320
|
+
public func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1321
|
+
open func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
|
|
1322
|
+
open func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
|
|
1323
|
+
open func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
|
|
1324
|
+
open func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
|
|
1325
|
+
open func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
|
|
1326
|
+
open func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
|
|
1327
|
+
open func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
|
|
1328
|
+
@objc deinit
|
|
1329
|
+
}
|
|
1330
|
+
public enum SwiftyJSONError : Swift.Int, Swift.Error {
|
|
1331
|
+
case unsupportedType
|
|
1332
|
+
case indexOutOfBounds
|
|
1333
|
+
case elementTooDeep
|
|
1334
|
+
case wrongType
|
|
1335
|
+
case notExist
|
|
1336
|
+
case invalidJSON
|
|
1337
|
+
public init?(rawValue: Swift.Int)
|
|
1338
|
+
public typealias RawValue = Swift.Int
|
|
1339
|
+
public var rawValue: Swift.Int {
|
|
1340
|
+
get
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
extension PixelPaySDK.SwiftyJSONError : Foundation.CustomNSError {
|
|
1344
|
+
public static var errorDomain: Swift.String {
|
|
1345
|
+
get
|
|
1346
|
+
}
|
|
1347
|
+
public var errorCode: Swift.Int {
|
|
1348
|
+
get
|
|
1349
|
+
}
|
|
1350
|
+
public var errorUserInfo: [Swift.String : Any] {
|
|
1351
|
+
get
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
public enum Type : Swift.Int {
|
|
1355
|
+
case number
|
|
1356
|
+
case string
|
|
1357
|
+
case bool
|
|
1358
|
+
case array
|
|
1359
|
+
case dictionary
|
|
1360
|
+
case null
|
|
1361
|
+
case unknown
|
|
1362
|
+
public init?(rawValue: Swift.Int)
|
|
1363
|
+
public typealias RawValue = Swift.Int
|
|
1364
|
+
public var rawValue: Swift.Int {
|
|
1365
|
+
get
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
public struct JSON {
|
|
1369
|
+
public init(data: Foundation.Data, options opt: Foundation.JSONSerialization.ReadingOptions = []) throws
|
|
1370
|
+
public init(_ object: Any)
|
|
1371
|
+
public init(parseJSON jsonString: Swift.String)
|
|
1372
|
+
public mutating func merge(with other: PixelPaySDK.JSON) throws
|
|
1373
|
+
public func merged(with other: PixelPaySDK.JSON) throws -> PixelPaySDK.JSON
|
|
1374
|
+
public var type: PixelPaySDK.`Type` {
|
|
1375
|
+
get
|
|
1376
|
+
}
|
|
1377
|
+
public var error: PixelPaySDK.SwiftyJSONError? {
|
|
1378
|
+
get
|
|
1379
|
+
}
|
|
1380
|
+
public var object: Any {
|
|
1381
|
+
get
|
|
1382
|
+
set
|
|
1383
|
+
}
|
|
1384
|
+
@available(*, unavailable, renamed: "null")
|
|
1385
|
+
public static var nullJSON: PixelPaySDK.JSON {
|
|
1386
|
+
get
|
|
1387
|
+
}
|
|
1388
|
+
public static var null: PixelPaySDK.JSON {
|
|
1389
|
+
get
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
public enum Index<T> : Swift.Comparable {
|
|
1393
|
+
case array(Swift.Int)
|
|
1394
|
+
case dictionary(Swift.DictionaryIndex<Swift.String, T>)
|
|
1395
|
+
case null
|
|
1396
|
+
public static func == (lhs: PixelPaySDK.Index<T>, rhs: PixelPaySDK.Index<T>) -> Swift.Bool
|
|
1397
|
+
public static func < (lhs: PixelPaySDK.Index<T>, rhs: PixelPaySDK.Index<T>) -> Swift.Bool
|
|
1398
|
+
}
|
|
1399
|
+
public typealias JSONIndex = PixelPaySDK.Index<PixelPaySDK.JSON>
|
|
1400
|
+
public typealias JSONRawIndex = PixelPaySDK.Index<Any>
|
|
1401
|
+
extension PixelPaySDK.JSON : Swift.Collection {
|
|
1402
|
+
public typealias Index = PixelPaySDK.JSONRawIndex
|
|
1403
|
+
public var startIndex: PixelPaySDK.JSON.Index {
|
|
1404
|
+
get
|
|
1405
|
+
}
|
|
1406
|
+
public var endIndex: PixelPaySDK.JSON.Index {
|
|
1407
|
+
get
|
|
1408
|
+
}
|
|
1409
|
+
public func index(after i: PixelPaySDK.JSON.Index) -> PixelPaySDK.JSON.Index
|
|
1410
|
+
public subscript(position: PixelPaySDK.JSON.Index) -> (Swift.String, PixelPaySDK.JSON) {
|
|
1411
|
+
get
|
|
1412
|
+
}
|
|
1413
|
+
public typealias Element = (Swift.String, PixelPaySDK.JSON)
|
|
1414
|
+
public typealias Indices = Swift.DefaultIndices<PixelPaySDK.JSON>
|
|
1415
|
+
public typealias Iterator = Swift.IndexingIterator<PixelPaySDK.JSON>
|
|
1416
|
+
public typealias SubSequence = Swift.Slice<PixelPaySDK.JSON>
|
|
1417
|
+
}
|
|
1418
|
+
public enum JSONKey {
|
|
1419
|
+
case index(Swift.Int)
|
|
1420
|
+
case key(Swift.String)
|
|
1421
|
+
}
|
|
1422
|
+
public protocol JSONSubscriptType {
|
|
1423
|
+
var jsonKey: PixelPaySDK.JSONKey { get }
|
|
1424
|
+
}
|
|
1425
|
+
extension Swift.Int : PixelPaySDK.JSONSubscriptType {
|
|
1426
|
+
public var jsonKey: PixelPaySDK.JSONKey {
|
|
1427
|
+
get
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
extension Swift.String : PixelPaySDK.JSONSubscriptType {
|
|
1431
|
+
public var jsonKey: PixelPaySDK.JSONKey {
|
|
1432
|
+
get
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
extension PixelPaySDK.JSON {
|
|
1436
|
+
public subscript(path: [PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
|
|
1437
|
+
get
|
|
1438
|
+
set
|
|
1439
|
+
}
|
|
1440
|
+
public subscript(path: PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
|
|
1441
|
+
get
|
|
1442
|
+
set
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
extension PixelPaySDK.JSON : Swift.ExpressibleByStringLiteral {
|
|
1446
|
+
public init(stringLiteral value: Swift.StringLiteralType)
|
|
1447
|
+
public init(extendedGraphemeClusterLiteral value: Swift.StringLiteralType)
|
|
1448
|
+
public init(unicodeScalarLiteral value: Swift.StringLiteralType)
|
|
1449
|
+
public typealias ExtendedGraphemeClusterLiteralType = Swift.StringLiteralType
|
|
1450
|
+
public typealias StringLiteralType = Swift.StringLiteralType
|
|
1451
|
+
public typealias UnicodeScalarLiteralType = Swift.StringLiteralType
|
|
1452
|
+
}
|
|
1453
|
+
extension PixelPaySDK.JSON : Swift.ExpressibleByIntegerLiteral {
|
|
1454
|
+
public init(integerLiteral value: Swift.IntegerLiteralType)
|
|
1455
|
+
public typealias IntegerLiteralType = Swift.IntegerLiteralType
|
|
1456
|
+
}
|
|
1457
|
+
extension PixelPaySDK.JSON : Swift.ExpressibleByBooleanLiteral {
|
|
1458
|
+
public init(booleanLiteral value: Swift.BooleanLiteralType)
|
|
1459
|
+
public typealias BooleanLiteralType = Swift.BooleanLiteralType
|
|
1460
|
+
}
|
|
1461
|
+
extension PixelPaySDK.JSON : Swift.ExpressibleByFloatLiteral {
|
|
1462
|
+
public init(floatLiteral value: Swift.FloatLiteralType)
|
|
1463
|
+
public typealias FloatLiteralType = Swift.FloatLiteralType
|
|
1464
|
+
}
|
|
1465
|
+
extension PixelPaySDK.JSON : Swift.ExpressibleByDictionaryLiteral {
|
|
1466
|
+
public init(dictionaryLiteral elements: (Swift.String, Any)...)
|
|
1467
|
+
public typealias Key = Swift.String
|
|
1468
|
+
public typealias Value = Any
|
|
1469
|
+
}
|
|
1470
|
+
extension PixelPaySDK.JSON : Swift.ExpressibleByArrayLiteral {
|
|
1471
|
+
public init(arrayLiteral elements: Any...)
|
|
1472
|
+
public typealias ArrayLiteralElement = Any
|
|
1473
|
+
}
|
|
1474
|
+
extension PixelPaySDK.JSON : Swift.RawRepresentable {
|
|
1475
|
+
public init?(rawValue: Any)
|
|
1476
|
+
public var rawValue: Any {
|
|
1477
|
+
get
|
|
1478
|
+
}
|
|
1479
|
+
public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
|
|
1480
|
+
public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
|
|
1481
|
+
public func rawString(_ options: [PixelPaySDK.writingOptionsKeys : Any]) -> Swift.String?
|
|
1482
|
+
public typealias RawValue = Any
|
|
1483
|
+
}
|
|
1484
|
+
extension PixelPaySDK.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
|
1485
|
+
public var description: Swift.String {
|
|
1486
|
+
get
|
|
1487
|
+
}
|
|
1488
|
+
public var debugDescription: Swift.String {
|
|
1489
|
+
get
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
extension PixelPaySDK.JSON {
|
|
1493
|
+
public var array: [PixelPaySDK.JSON]? {
|
|
1494
|
+
get
|
|
1495
|
+
}
|
|
1496
|
+
public var arrayValue: [PixelPaySDK.JSON] {
|
|
1497
|
+
get
|
|
1498
|
+
}
|
|
1499
|
+
public var arrayObject: [Any]? {
|
|
1500
|
+
get
|
|
1501
|
+
set
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
extension PixelPaySDK.JSON {
|
|
1505
|
+
public var dictionary: [Swift.String : PixelPaySDK.JSON]? {
|
|
1506
|
+
get
|
|
1507
|
+
}
|
|
1508
|
+
public var dictionaryValue: [Swift.String : PixelPaySDK.JSON] {
|
|
1509
|
+
get
|
|
1510
|
+
}
|
|
1511
|
+
public var dictionaryObject: [Swift.String : Any]? {
|
|
1512
|
+
get
|
|
1513
|
+
set
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
extension PixelPaySDK.JSON {
|
|
1517
|
+
public var bool: Swift.Bool? {
|
|
1518
|
+
get
|
|
1519
|
+
set
|
|
1520
|
+
}
|
|
1521
|
+
public var boolValue: Swift.Bool {
|
|
1522
|
+
get
|
|
1523
|
+
set
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
extension PixelPaySDK.JSON {
|
|
1527
|
+
public var string: Swift.String? {
|
|
1528
|
+
get
|
|
1529
|
+
set
|
|
1530
|
+
}
|
|
1531
|
+
public var stringValue: Swift.String {
|
|
1532
|
+
get
|
|
1533
|
+
set
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
extension PixelPaySDK.JSON {
|
|
1537
|
+
public var number: Foundation.NSNumber? {
|
|
1538
|
+
get
|
|
1539
|
+
set
|
|
1540
|
+
}
|
|
1541
|
+
public var numberValue: Foundation.NSNumber {
|
|
1542
|
+
get
|
|
1543
|
+
set
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
extension PixelPaySDK.JSON {
|
|
1547
|
+
public var null: Foundation.NSNull? {
|
|
1548
|
+
get
|
|
1549
|
+
set
|
|
1550
|
+
}
|
|
1551
|
+
public func exists() -> Swift.Bool
|
|
1552
|
+
}
|
|
1553
|
+
extension PixelPaySDK.JSON {
|
|
1554
|
+
public var url: Foundation.URL? {
|
|
1555
|
+
get
|
|
1556
|
+
set
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
extension PixelPaySDK.JSON {
|
|
1560
|
+
public var double: Swift.Double? {
|
|
1561
|
+
get
|
|
1562
|
+
set
|
|
1563
|
+
}
|
|
1564
|
+
public var doubleValue: Swift.Double {
|
|
1565
|
+
get
|
|
1566
|
+
set
|
|
1567
|
+
}
|
|
1568
|
+
public var float: Swift.Float? {
|
|
1569
|
+
get
|
|
1570
|
+
set
|
|
1571
|
+
}
|
|
1572
|
+
public var floatValue: Swift.Float {
|
|
1573
|
+
get
|
|
1574
|
+
set
|
|
1575
|
+
}
|
|
1576
|
+
public var int: Swift.Int? {
|
|
1577
|
+
get
|
|
1578
|
+
set
|
|
1579
|
+
}
|
|
1580
|
+
public var intValue: Swift.Int {
|
|
1581
|
+
get
|
|
1582
|
+
set
|
|
1583
|
+
}
|
|
1584
|
+
public var uInt: Swift.UInt? {
|
|
1585
|
+
get
|
|
1586
|
+
set
|
|
1587
|
+
}
|
|
1588
|
+
public var uIntValue: Swift.UInt {
|
|
1589
|
+
get
|
|
1590
|
+
set
|
|
1591
|
+
}
|
|
1592
|
+
public var int8: Swift.Int8? {
|
|
1593
|
+
get
|
|
1594
|
+
set
|
|
1595
|
+
}
|
|
1596
|
+
public var int8Value: Swift.Int8 {
|
|
1597
|
+
get
|
|
1598
|
+
set
|
|
1599
|
+
}
|
|
1600
|
+
public var uInt8: Swift.UInt8? {
|
|
1601
|
+
get
|
|
1602
|
+
set
|
|
1603
|
+
}
|
|
1604
|
+
public var uInt8Value: Swift.UInt8 {
|
|
1605
|
+
get
|
|
1606
|
+
set
|
|
1607
|
+
}
|
|
1608
|
+
public var int16: Swift.Int16? {
|
|
1609
|
+
get
|
|
1610
|
+
set
|
|
1611
|
+
}
|
|
1612
|
+
public var int16Value: Swift.Int16 {
|
|
1613
|
+
get
|
|
1614
|
+
set
|
|
1615
|
+
}
|
|
1616
|
+
public var uInt16: Swift.UInt16? {
|
|
1617
|
+
get
|
|
1618
|
+
set
|
|
1619
|
+
}
|
|
1620
|
+
public var uInt16Value: Swift.UInt16 {
|
|
1621
|
+
get
|
|
1622
|
+
set
|
|
1623
|
+
}
|
|
1624
|
+
public var int32: Swift.Int32? {
|
|
1625
|
+
get
|
|
1626
|
+
set
|
|
1627
|
+
}
|
|
1628
|
+
public var int32Value: Swift.Int32 {
|
|
1629
|
+
get
|
|
1630
|
+
set
|
|
1631
|
+
}
|
|
1632
|
+
public var uInt32: Swift.UInt32? {
|
|
1633
|
+
get
|
|
1634
|
+
set
|
|
1635
|
+
}
|
|
1636
|
+
public var uInt32Value: Swift.UInt32 {
|
|
1637
|
+
get
|
|
1638
|
+
set
|
|
1639
|
+
}
|
|
1640
|
+
public var int64: Swift.Int64? {
|
|
1641
|
+
get
|
|
1642
|
+
set
|
|
1643
|
+
}
|
|
1644
|
+
public var int64Value: Swift.Int64 {
|
|
1645
|
+
get
|
|
1646
|
+
set
|
|
1647
|
+
}
|
|
1648
|
+
public var uInt64: Swift.UInt64? {
|
|
1649
|
+
get
|
|
1650
|
+
set
|
|
1651
|
+
}
|
|
1652
|
+
public var uInt64Value: Swift.UInt64 {
|
|
1653
|
+
get
|
|
1654
|
+
set
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
extension PixelPaySDK.JSON : Swift.Comparable {
|
|
1658
|
+
}
|
|
1659
|
+
public func == (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
|
|
1660
|
+
public func <= (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
|
|
1661
|
+
public func >= (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
|
|
1662
|
+
public func > (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
|
|
1663
|
+
public func < (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
|
|
1664
|
+
public enum writingOptionsKeys {
|
|
1665
|
+
case jsonSerialization
|
|
1666
|
+
case castNilToNSNull
|
|
1667
|
+
case maxObjextDepth
|
|
1668
|
+
case encoding
|
|
1669
|
+
public static func == (a: PixelPaySDK.writingOptionsKeys, b: PixelPaySDK.writingOptionsKeys) -> Swift.Bool
|
|
1670
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
1671
|
+
public var hashValue: Swift.Int {
|
|
1672
|
+
get
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
extension PixelPaySDK.JSON : Swift.Codable {
|
|
1676
|
+
public init(from decoder: Swift.Decoder) throws
|
|
1677
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
1678
|
+
}
|
|
1679
|
+
public protocol AuthenticationCredential {
|
|
1680
|
+
var requiresRefresh: Swift.Bool { get }
|
|
1681
|
+
}
|
|
1682
|
+
public protocol Authenticator : AnyObject {
|
|
1683
|
+
associatedtype Credential : PixelPaySDK.AuthenticationCredential
|
|
1684
|
+
func apply(_ credential: Self.Credential, to urlRequest: inout Foundation.URLRequest)
|
|
1685
|
+
func refresh(_ credential: Self.Credential, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Self.Credential, Swift.Error>) -> Swift.Void)
|
|
1686
|
+
func didRequest(_ urlRequest: Foundation.URLRequest, with response: Foundation.HTTPURLResponse, failDueToAuthenticationError error: Swift.Error) -> Swift.Bool
|
|
1687
|
+
func isRequest(_ urlRequest: Foundation.URLRequest, authenticatedWith credential: Self.Credential) -> Swift.Bool
|
|
1688
|
+
}
|
|
1689
|
+
public enum AuthenticationError : Swift.Error {
|
|
1690
|
+
case missingCredential
|
|
1691
|
+
case excessiveRefresh
|
|
1692
|
+
public static func == (a: PixelPaySDK.AuthenticationError, b: PixelPaySDK.AuthenticationError) -> Swift.Bool
|
|
1693
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
1694
|
+
public var hashValue: Swift.Int {
|
|
1695
|
+
get
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestInterceptor where AuthenticatorType : PixelPaySDK.Authenticator {
|
|
1699
|
+
public typealias Credential = AuthenticatorType.Credential
|
|
1700
|
+
public struct RefreshWindow {
|
|
1701
|
+
public let interval: Foundation.TimeInterval
|
|
1702
|
+
public let maximumAttempts: Swift.Int
|
|
1703
|
+
public init(interval: Foundation.TimeInterval = 30.0, maximumAttempts: Swift.Int = 5)
|
|
1704
|
+
}
|
|
1705
|
+
public var credential: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.Credential? {
|
|
1706
|
+
get
|
|
1707
|
+
set
|
|
1708
|
+
}
|
|
1709
|
+
public init(authenticator: AuthenticatorType, credential: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.Credential? = nil, refreshWindow: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.RefreshWindow? = RefreshWindow())
|
|
1710
|
+
public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1711
|
+
public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
1712
|
+
@objc deinit
|
|
1713
|
+
}
|
|
1714
|
+
@_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
|
|
1715
|
+
public func vaultCard(card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
1716
|
+
public func updateCard(token: Swift.String, card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
1717
|
+
public func showCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
1718
|
+
public func showCards(tokens: [Swift.String], completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
1719
|
+
public func deleteCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
|
|
1720
|
+
override public init(settings: PixelPaySDK.Settings)
|
|
1721
|
+
@objc deinit
|
|
1722
|
+
}
|
|
1723
|
+
public typealias AFResult<Success> = Swift.Result<Success, PixelPaySDK.AFError>
|
|
1724
|
+
extension UIKit.UIView {
|
|
1725
|
+
@_Concurrency.MainActor(unsafe) public func showPixelPayPayloadLoader(payload: Swift.String, on_response: @escaping (PixelPaySDK.Response) -> Swift.Void)
|
|
1726
|
+
@_Concurrency.MainActor(unsafe) public func removePixelPayPayloadLoader()
|
|
1727
|
+
}
|
|
1728
|
+
public enum NicoProgressBarState {
|
|
1729
|
+
case indeterminate
|
|
1730
|
+
case determinate(percentage: CoreFoundation.CGFloat)
|
|
1731
|
+
public var isDeterminate: Swift.Bool {
|
|
1732
|
+
get
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class NicoProgressBar : UIKit.UIView {
|
|
1736
|
+
@_Concurrency.MainActor(unsafe) open var state: PixelPaySDK.NicoProgressBarState {
|
|
1737
|
+
get
|
|
1738
|
+
}
|
|
1739
|
+
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var primaryColor: UIKit.UIColor {
|
|
1740
|
+
@objc get
|
|
1741
|
+
@objc set
|
|
1742
|
+
}
|
|
1743
|
+
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var secondaryColor: UIKit.UIColor {
|
|
1744
|
+
@objc get
|
|
1745
|
+
@objc set
|
|
1746
|
+
}
|
|
1747
|
+
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var animateDeterminateInitialization: Swift.Bool
|
|
1748
|
+
@_Concurrency.MainActor(unsafe) open var indeterminateAnimationDuration: Swift.Double
|
|
1749
|
+
@_Concurrency.MainActor(unsafe) open var determinateAnimationDuration: Swift.Double
|
|
1750
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
1751
|
+
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
|
|
1752
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic open func didMoveToSuperview()
|
|
1753
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic open func didMoveToWindow()
|
|
1754
|
+
@_Concurrency.MainActor(unsafe) public func transition(to state: PixelPaySDK.NicoProgressBarState, delay: Foundation.TimeInterval = 0, animateDeterminate: Swift.Bool = true, completion: ((Swift.Bool) -> Swift.Void)? = nil)
|
|
1755
|
+
@objc deinit
|
|
1756
|
+
}
|
|
1757
|
+
extension Foundation.URLSessionConfiguration : PixelPaySDK.AlamofireExtended {
|
|
1758
|
+
public typealias ExtendedType = Foundation.URLSessionConfiguration
|
|
1759
|
+
}
|
|
1760
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType : Foundation.URLSessionConfiguration {
|
|
1761
|
+
public static var `default`: Foundation.URLSessionConfiguration {
|
|
1762
|
+
get
|
|
1763
|
+
}
|
|
1764
|
+
public static var ephemeral: Foundation.URLSessionConfiguration {
|
|
1765
|
+
get
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
public class Billing {
|
|
1769
|
+
public var address: Swift.String?
|
|
1770
|
+
public var country: Swift.String?
|
|
1771
|
+
public var state: Swift.String?
|
|
1772
|
+
public var city: Swift.String?
|
|
1773
|
+
public var zip: Swift.String?
|
|
1774
|
+
public var phone: Swift.String?
|
|
1775
|
+
public init()
|
|
1776
|
+
@objc deinit
|
|
1777
|
+
}
|
|
1778
|
+
@_inheritsConvenienceInitializers public class SaleTransaction : PixelPaySDK.PaymentTransaction {
|
|
1779
|
+
override public init()
|
|
1780
|
+
required public init(from: Swift.Decoder) throws
|
|
1781
|
+
@objc deinit
|
|
1782
|
+
}
|
|
1783
|
+
@_inheritsConvenienceInitializers public class PaymentTransaction : PixelPaySDK.RequestBehaviour {
|
|
1784
|
+
public var payment_uuid: Swift.String?
|
|
1785
|
+
public var card_token: Swift.String?
|
|
1786
|
+
public var card_number: Swift.String?
|
|
1787
|
+
public var card_cvv: Swift.String?
|
|
1788
|
+
public var card_expire: Swift.String?
|
|
1789
|
+
public var card_holder: Swift.String?
|
|
1790
|
+
public var billing_address: Swift.String?
|
|
1791
|
+
public var billing_country: Swift.String?
|
|
1792
|
+
public var billing_state: Swift.String?
|
|
1793
|
+
public var billing_city: Swift.String?
|
|
1794
|
+
public var billing_zip: Swift.String?
|
|
1795
|
+
public var billing_phone: Swift.String?
|
|
1796
|
+
public var customer_name: Swift.String?
|
|
1797
|
+
public var customer_email: Swift.String?
|
|
1798
|
+
public var customer_fingerprint: Swift.String?
|
|
1799
|
+
public var order_id: Swift.String?
|
|
1800
|
+
public var order_currency: Swift.String?
|
|
1801
|
+
public var order_amount: Swift.String?
|
|
1802
|
+
public var order_tax_amount: Swift.String?
|
|
1803
|
+
public var order_shipping_amount: Swift.String?
|
|
1804
|
+
public var order_content: PixelPaySDK.JSON
|
|
1805
|
+
public var order_extras: PixelPaySDK.JSON
|
|
1806
|
+
public var order_note: Swift.String?
|
|
1807
|
+
public var order_callback: Swift.String?
|
|
1808
|
+
public var authentication_request: Swift.Bool
|
|
1809
|
+
public var authentication_identifier: Swift.String?
|
|
1810
|
+
override public init()
|
|
1811
|
+
required public init(from: Swift.Decoder) throws
|
|
1812
|
+
override public func encode(to encoder: Swift.Encoder) throws
|
|
1813
|
+
public func setCard(card: PixelPaySDK.Card)
|
|
1814
|
+
public func setCardToken(token: Swift.String)
|
|
1815
|
+
public func setBilling(billing: PixelPaySDK.Billing)
|
|
1816
|
+
public func setOrder(order: PixelPaySDK.Order)
|
|
1817
|
+
public func withAuthenticationRequest()
|
|
1818
|
+
@objc deinit
|
|
1819
|
+
}
|
|
1820
|
+
@_inheritsConvenienceInitializers public class PayloadResponse : PixelPaySDK.Response {
|
|
1821
|
+
override public init()
|
|
1822
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1823
|
+
@objc deinit
|
|
1824
|
+
}
|
|
1825
|
+
public protocol URLConvertible {
|
|
1826
|
+
func asURL() throws -> Foundation.URL
|
|
1827
|
+
}
|
|
1828
|
+
extension Swift.String : PixelPaySDK.URLConvertible {
|
|
1829
|
+
public func asURL() throws -> Foundation.URL
|
|
1830
|
+
}
|
|
1831
|
+
extension Foundation.URL : PixelPaySDK.URLConvertible {
|
|
1832
|
+
public func asURL() throws -> Foundation.URL
|
|
1833
|
+
}
|
|
1834
|
+
extension Foundation.URLComponents : PixelPaySDK.URLConvertible {
|
|
1835
|
+
public func asURL() throws -> Foundation.URL
|
|
1836
|
+
}
|
|
1837
|
+
public protocol URLRequestConvertible {
|
|
1838
|
+
func asURLRequest() throws -> Foundation.URLRequest
|
|
1839
|
+
}
|
|
1840
|
+
extension PixelPaySDK.URLRequestConvertible {
|
|
1841
|
+
public var urlRequest: Foundation.URLRequest? {
|
|
1842
|
+
get
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
extension Foundation.URLRequest : PixelPaySDK.URLRequestConvertible {
|
|
1846
|
+
public func asURLRequest() throws -> Foundation.URLRequest
|
|
1847
|
+
}
|
|
1848
|
+
extension Foundation.URLRequest {
|
|
1849
|
+
public init(url: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod, headers: PixelPaySDK.HTTPHeaders? = nil) throws
|
|
1850
|
+
}
|
|
1851
|
+
@_inheritsConvenienceInitializers public class InputErrorResponse : PixelPaySDK.Response {
|
|
1852
|
+
override public init()
|
|
1853
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1854
|
+
@objc deinit
|
|
1855
|
+
}
|
|
1856
|
+
public enum InvalidCredentialsException : Swift.Error {
|
|
1857
|
+
case invalidCredentials(Swift.String)
|
|
1858
|
+
}
|
|
1859
|
+
public enum InvalidTransactionType : Swift.Error {
|
|
1860
|
+
case invalidTransactionType(Swift.String)
|
|
1861
|
+
}
|
|
1862
|
+
@_inheritsConvenienceInitializers public class TimeoutResponse : PixelPaySDK.Response {
|
|
1863
|
+
override public init()
|
|
1864
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1865
|
+
@objc deinit
|
|
1866
|
+
}
|
|
1867
|
+
public protocol RequestAdapter {
|
|
1868
|
+
func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1869
|
+
}
|
|
1870
|
+
public enum RetryResult {
|
|
1871
|
+
case retry
|
|
1872
|
+
case retryWithDelay(Foundation.TimeInterval)
|
|
1873
|
+
case doNotRetry
|
|
1874
|
+
case doNotRetryWithError(Swift.Error)
|
|
1875
|
+
}
|
|
1876
|
+
public protocol RequestRetrier {
|
|
1877
|
+
func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
1878
|
+
}
|
|
1879
|
+
public protocol RequestInterceptor : PixelPaySDK.RequestAdapter, PixelPaySDK.RequestRetrier {
|
|
1880
|
+
}
|
|
1881
|
+
extension PixelPaySDK.RequestInterceptor {
|
|
1882
|
+
public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1883
|
+
public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
1884
|
+
}
|
|
1885
|
+
public typealias AdaptHandler = (Foundation.URLRequest, PixelPaySDK.Session, _ completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void) -> Swift.Void
|
|
1886
|
+
public typealias RetryHandler = (PixelPaySDK.Request, PixelPaySDK.Session, Swift.Error, _ completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void) -> Swift.Void
|
|
1887
|
+
open class Adapter : PixelPaySDK.RequestInterceptor {
|
|
1888
|
+
public init(_ adaptHandler: @escaping PixelPaySDK.AdaptHandler)
|
|
1889
|
+
open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1890
|
+
@objc deinit
|
|
1891
|
+
}
|
|
1892
|
+
open class Retrier : PixelPaySDK.RequestInterceptor {
|
|
1893
|
+
public init(_ retryHandler: @escaping PixelPaySDK.RetryHandler)
|
|
1894
|
+
open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
1895
|
+
@objc deinit
|
|
1896
|
+
}
|
|
1897
|
+
open class Interceptor : PixelPaySDK.RequestInterceptor {
|
|
1898
|
+
final public let adapters: [PixelPaySDK.RequestAdapter]
|
|
1899
|
+
final public let retriers: [PixelPaySDK.RequestRetrier]
|
|
1900
|
+
public init(adaptHandler: @escaping PixelPaySDK.AdaptHandler, retryHandler: @escaping PixelPaySDK.RetryHandler)
|
|
1901
|
+
public init(adapter: PixelPaySDK.RequestAdapter, retrier: PixelPaySDK.RequestRetrier)
|
|
1902
|
+
public init(adapters: [PixelPaySDK.RequestAdapter] = [], retriers: [PixelPaySDK.RequestRetrier] = [], interceptors: [PixelPaySDK.RequestInterceptor] = [])
|
|
1903
|
+
open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1904
|
+
open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
1905
|
+
@objc deinit
|
|
1906
|
+
}
|
|
1907
|
+
extension UIKit.UIView {
|
|
1908
|
+
@_Concurrency.MainActor(unsafe) public func showCybersourceLoader(merchant_id: Swift.String, org_id: Swift.String, on_response: @escaping (Swift.String) -> Swift.Void)
|
|
1909
|
+
@_Concurrency.MainActor(unsafe) public func removeCybersourceLoader()
|
|
1910
|
+
}
|
|
1911
|
+
public let AF: PixelPaySDK.Session
|
|
1912
|
+
public class Order {
|
|
1913
|
+
public var id: Swift.String?
|
|
1914
|
+
public var currency: Swift.String?
|
|
1915
|
+
public var amount: Swift.Double?
|
|
1916
|
+
public var tax_amount: Swift.Double?
|
|
1917
|
+
public var shipping_amount: Swift.Double?
|
|
1918
|
+
public var content: [PixelPaySDK.Item]
|
|
1919
|
+
public var extras: [Swift.String : Swift.String]
|
|
1920
|
+
public var note: Swift.String?
|
|
1921
|
+
public var callback_url: Swift.String?
|
|
1922
|
+
public var customer_name: Swift.String?
|
|
1923
|
+
public var customer_email: Swift.String?
|
|
1924
|
+
public init()
|
|
1925
|
+
public func addItem(item: PixelPaySDK.Item)
|
|
1926
|
+
public func addExtra(key: Swift.String, value: Swift.String)
|
|
1927
|
+
public func totalize()
|
|
1928
|
+
@objc deinit
|
|
1929
|
+
}
|
|
1930
|
+
public class Item : Swift.Codable {
|
|
1931
|
+
public var code: Swift.String?
|
|
1932
|
+
public var title: Swift.String?
|
|
1933
|
+
public var price: Swift.Double
|
|
1934
|
+
public var qty: Swift.Int
|
|
1935
|
+
public var tax: Swift.Double
|
|
1936
|
+
public var total: Swift.Double
|
|
1937
|
+
public init()
|
|
1938
|
+
public func totalize() -> PixelPaySDK.Item
|
|
1939
|
+
@objc deinit
|
|
1940
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
1941
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1942
|
+
}
|
|
1943
|
+
@_inheritsConvenienceInitializers public class PaymentDeclinedResponse : PixelPaySDK.Response {
|
|
1944
|
+
override public init()
|
|
1945
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
1946
|
+
@objc deinit
|
|
1947
|
+
}
|
|
1948
|
+
public typealias AFDataResponse<Success> = PixelPaySDK.DataResponse<Success, PixelPaySDK.AFError>
|
|
1949
|
+
public typealias AFDownloadResponse<Success> = PixelPaySDK.DownloadResponse<Success, PixelPaySDK.AFError>
|
|
1950
|
+
public struct DataResponse<Success, Failure> where Failure : Swift.Error {
|
|
1951
|
+
public let request: Foundation.URLRequest?
|
|
1952
|
+
public let response: Foundation.HTTPURLResponse?
|
|
1953
|
+
public let data: Foundation.Data?
|
|
1954
|
+
public let metrics: Foundation.URLSessionTaskMetrics?
|
|
1955
|
+
public let serializationDuration: Foundation.TimeInterval
|
|
1956
|
+
public let result: Swift.Result<Success, Failure>
|
|
1957
|
+
public var value: Success? {
|
|
1958
|
+
get
|
|
1959
|
+
}
|
|
1960
|
+
public var error: Failure? {
|
|
1961
|
+
get
|
|
1962
|
+
}
|
|
1963
|
+
public init(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, metrics: Foundation.URLSessionTaskMetrics?, serializationDuration: Foundation.TimeInterval, result: Swift.Result<Success, Failure>)
|
|
1964
|
+
}
|
|
1965
|
+
extension PixelPaySDK.DataResponse : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
|
1966
|
+
public var description: Swift.String {
|
|
1967
|
+
get
|
|
1968
|
+
}
|
|
1969
|
+
public var debugDescription: Swift.String {
|
|
1970
|
+
get
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
extension PixelPaySDK.DataResponse {
|
|
1974
|
+
public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Failure>
|
|
1975
|
+
public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Swift.Error>
|
|
1976
|
+
public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DataResponse<Success, NewFailure> where NewFailure : Swift.Error
|
|
1977
|
+
public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DataResponse<Success, Swift.Error> where NewFailure : Swift.Error
|
|
1978
|
+
}
|
|
1979
|
+
public struct DownloadResponse<Success, Failure> where Failure : Swift.Error {
|
|
1980
|
+
public let request: Foundation.URLRequest?
|
|
1981
|
+
public let response: Foundation.HTTPURLResponse?
|
|
1982
|
+
public let fileURL: Foundation.URL?
|
|
1983
|
+
public let resumeData: Foundation.Data?
|
|
1984
|
+
public let metrics: Foundation.URLSessionTaskMetrics?
|
|
1985
|
+
public let serializationDuration: Foundation.TimeInterval
|
|
1986
|
+
public let result: Swift.Result<Success, Failure>
|
|
1987
|
+
public var value: Success? {
|
|
1988
|
+
get
|
|
1989
|
+
}
|
|
1990
|
+
public var error: Failure? {
|
|
1991
|
+
get
|
|
1992
|
+
}
|
|
1993
|
+
public init(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, resumeData: Foundation.Data?, metrics: Foundation.URLSessionTaskMetrics?, serializationDuration: Foundation.TimeInterval, result: Swift.Result<Success, Failure>)
|
|
1994
|
+
}
|
|
1995
|
+
extension PixelPaySDK.DownloadResponse : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
|
|
1996
|
+
public var description: Swift.String {
|
|
1997
|
+
get
|
|
1998
|
+
}
|
|
1999
|
+
public var debugDescription: Swift.String {
|
|
2000
|
+
get
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
extension PixelPaySDK.DownloadResponse {
|
|
2004
|
+
public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Failure>
|
|
2005
|
+
public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Swift.Error>
|
|
2006
|
+
public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, NewFailure> where NewFailure : Swift.Error
|
|
2007
|
+
public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, Swift.Error> where NewFailure : Swift.Error
|
|
2008
|
+
}
|
|
2009
|
+
@_inheritsConvenienceInitializers public class CardTokenization : PixelPaySDK.RequestBehaviour {
|
|
2010
|
+
public var number: Swift.String?
|
|
2011
|
+
public var cvv2: Swift.String?
|
|
2012
|
+
public var expire_month: Swift.String?
|
|
2013
|
+
public var expire_year: Swift.String?
|
|
2014
|
+
public var cardholder: Swift.String?
|
|
2015
|
+
public var address: Swift.String?
|
|
2016
|
+
public var country: Swift.String?
|
|
2017
|
+
public var state: Swift.String?
|
|
2018
|
+
public var city: Swift.String?
|
|
2019
|
+
public var zip: Swift.String?
|
|
2020
|
+
public var phone: Swift.String?
|
|
2021
|
+
public var email: Swift.String?
|
|
2022
|
+
override public init()
|
|
2023
|
+
required public init(from: Swift.Decoder) throws
|
|
2024
|
+
override public func encode(to encoder: Swift.Encoder) throws
|
|
2025
|
+
public func setCard(card: PixelPaySDK.Card)
|
|
2026
|
+
public func setBilling(billing: PixelPaySDK.Billing)
|
|
2027
|
+
@objc deinit
|
|
2028
|
+
}
|
|
2029
|
+
@_inheritsConvenienceInitializers public class ErrorResponse : PixelPaySDK.Response {
|
|
2030
|
+
override public init()
|
|
2031
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
2032
|
+
@objc deinit
|
|
2033
|
+
}
|
|
2034
|
+
public class Response : Swift.Codable {
|
|
2035
|
+
public var success: Swift.Bool
|
|
2036
|
+
public var message: Swift.String?
|
|
2037
|
+
public var action: Swift.String?
|
|
2038
|
+
public var data: PixelPaySDK.JSON?
|
|
2039
|
+
public var errors: PixelPaySDK.JSON?
|
|
2040
|
+
public var code: Swift.String?
|
|
2041
|
+
public init()
|
|
2042
|
+
public func setStatus(status: Swift.Int)
|
|
2043
|
+
public func getStatus() -> Swift.Int?
|
|
2044
|
+
public func inputHasError(key: Swift.String) -> Swift.Bool
|
|
2045
|
+
public func getData(key: Swift.String) -> PixelPaySDK.JSON
|
|
2046
|
+
public static func fromJson(body: Foundation.Data, status: Swift.Int) -> PixelPaySDK.Response
|
|
2047
|
+
@objc deinit
|
|
2048
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
2049
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
2050
|
+
}
|
|
2051
|
+
public protocol DataResponseSerializerProtocol {
|
|
2052
|
+
associatedtype SerializedObject
|
|
2053
|
+
func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Self.SerializedObject
|
|
2054
|
+
}
|
|
2055
|
+
public protocol DownloadResponseSerializerProtocol {
|
|
2056
|
+
associatedtype SerializedObject
|
|
2057
|
+
func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
|
|
2058
|
+
}
|
|
2059
|
+
public protocol ResponseSerializer : PixelPaySDK.DataResponseSerializerProtocol, PixelPaySDK.DownloadResponseSerializerProtocol {
|
|
2060
|
+
var dataPreprocessor: PixelPaySDK.DataPreprocessor { get }
|
|
2061
|
+
var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> { get }
|
|
2062
|
+
var emptyResponseCodes: Swift.Set<Swift.Int> { get }
|
|
2063
|
+
}
|
|
2064
|
+
public protocol DataPreprocessor {
|
|
2065
|
+
func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
|
|
2066
|
+
}
|
|
2067
|
+
public struct PassthroughPreprocessor : PixelPaySDK.DataPreprocessor {
|
|
2068
|
+
public init()
|
|
2069
|
+
public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
|
|
2070
|
+
}
|
|
2071
|
+
public struct GoogleXSSIPreprocessor : PixelPaySDK.DataPreprocessor {
|
|
2072
|
+
public init()
|
|
2073
|
+
public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
|
|
2074
|
+
}
|
|
2075
|
+
extension PixelPaySDK.ResponseSerializer {
|
|
2076
|
+
public static var defaultDataPreprocessor: PixelPaySDK.DataPreprocessor {
|
|
2077
|
+
get
|
|
2078
|
+
}
|
|
2079
|
+
public static var defaultEmptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
|
|
2080
|
+
get
|
|
2081
|
+
}
|
|
2082
|
+
public static var defaultEmptyResponseCodes: Swift.Set<Swift.Int> {
|
|
2083
|
+
get
|
|
2084
|
+
}
|
|
2085
|
+
public var dataPreprocessor: PixelPaySDK.DataPreprocessor {
|
|
2086
|
+
get
|
|
2087
|
+
}
|
|
2088
|
+
public var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
|
|
2089
|
+
get
|
|
2090
|
+
}
|
|
2091
|
+
public var emptyResponseCodes: Swift.Set<Swift.Int> {
|
|
2092
|
+
get
|
|
2093
|
+
}
|
|
2094
|
+
public func requestAllowsEmptyResponseData(_ request: Foundation.URLRequest?) -> Swift.Bool?
|
|
2095
|
+
public func responseAllowsEmptyResponseData(_ response: Foundation.HTTPURLResponse?) -> Swift.Bool?
|
|
2096
|
+
public func emptyResponseAllowed(forRequest request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?) -> Swift.Bool
|
|
2097
|
+
}
|
|
2098
|
+
extension PixelPaySDK.DownloadResponseSerializerProtocol where Self : PixelPaySDK.DataResponseSerializerProtocol {
|
|
2099
|
+
public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
|
|
2100
|
+
}
|
|
2101
|
+
extension PixelPaySDK.DataRequest {
|
|
2102
|
+
@discardableResult
|
|
2103
|
+
public func response(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Foundation.Data?>) -> Swift.Void) -> Self
|
|
2104
|
+
@discardableResult
|
|
2105
|
+
public func response<Serializer>(queue: Dispatch.DispatchQueue = .main, responseSerializer: Serializer, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Serializer.SerializedObject>) -> Swift.Void) -> Self where Serializer : PixelPaySDK.DataResponseSerializerProtocol
|
|
2106
|
+
}
|
|
2107
|
+
extension PixelPaySDK.DownloadRequest {
|
|
2108
|
+
@discardableResult
|
|
2109
|
+
public func response(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL?>) -> Swift.Void) -> Self
|
|
2110
|
+
@discardableResult
|
|
2111
|
+
public func response<Serializer>(queue: Dispatch.DispatchQueue = .main, responseSerializer: Serializer, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Serializer.SerializedObject>) -> Swift.Void) -> Self where Serializer : PixelPaySDK.DownloadResponseSerializerProtocol
|
|
2112
|
+
}
|
|
2113
|
+
public struct URLResponseSerializer : PixelPaySDK.DownloadResponseSerializerProtocol {
|
|
2114
|
+
public init()
|
|
2115
|
+
public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Foundation.URL
|
|
2116
|
+
public typealias SerializedObject = Foundation.URL
|
|
2117
|
+
}
|
|
2118
|
+
extension PixelPaySDK.DownloadRequest {
|
|
2119
|
+
@discardableResult
|
|
2120
|
+
public func responseURL(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL>) -> Swift.Void) -> Self
|
|
2121
|
+
}
|
|
2122
|
+
final public class DataResponseSerializer : PixelPaySDK.ResponseSerializer {
|
|
2123
|
+
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2124
|
+
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2125
|
+
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2126
|
+
public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods)
|
|
2127
|
+
final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Foundation.Data
|
|
2128
|
+
public typealias SerializedObject = Foundation.Data
|
|
2129
|
+
@objc deinit
|
|
2130
|
+
}
|
|
2131
|
+
extension PixelPaySDK.DataRequest {
|
|
2132
|
+
@discardableResult
|
|
2133
|
+
public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Foundation.Data>) -> Swift.Void) -> Self
|
|
2134
|
+
}
|
|
2135
|
+
extension PixelPaySDK.DownloadRequest {
|
|
2136
|
+
@discardableResult
|
|
2137
|
+
public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.Data>) -> Swift.Void) -> Self
|
|
2138
|
+
}
|
|
2139
|
+
final public class StringResponseSerializer : PixelPaySDK.ResponseSerializer {
|
|
2140
|
+
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2141
|
+
final public let encoding: Swift.String.Encoding?
|
|
2142
|
+
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2143
|
+
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2144
|
+
public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods)
|
|
2145
|
+
final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Swift.String
|
|
2146
|
+
public typealias SerializedObject = Swift.String
|
|
2147
|
+
@objc deinit
|
|
2148
|
+
}
|
|
2149
|
+
extension PixelPaySDK.DataRequest {
|
|
2150
|
+
@discardableResult
|
|
2151
|
+
public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Swift.String>) -> Swift.Void) -> Self
|
|
2152
|
+
}
|
|
2153
|
+
extension PixelPaySDK.DownloadRequest {
|
|
2154
|
+
@discardableResult
|
|
2155
|
+
public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Swift.String>) -> Swift.Void) -> Self
|
|
2156
|
+
}
|
|
2157
|
+
final public class JSONResponseSerializer : PixelPaySDK.ResponseSerializer {
|
|
2158
|
+
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2159
|
+
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2160
|
+
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2161
|
+
final public let options: Foundation.JSONSerialization.ReadingOptions
|
|
2162
|
+
public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments)
|
|
2163
|
+
final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Any
|
|
2164
|
+
public typealias SerializedObject = Any
|
|
2165
|
+
@objc deinit
|
|
2166
|
+
}
|
|
2167
|
+
extension PixelPaySDK.DataRequest {
|
|
2168
|
+
@discardableResult
|
|
2169
|
+
public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Any>) -> Swift.Void) -> Self
|
|
2170
|
+
}
|
|
2171
|
+
extension PixelPaySDK.DownloadRequest {
|
|
2172
|
+
@discardableResult
|
|
2173
|
+
public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Any>) -> Swift.Void) -> Self
|
|
2174
|
+
}
|
|
2175
|
+
public protocol EmptyResponse {
|
|
2176
|
+
static func emptyValue() -> Self
|
|
2177
|
+
}
|
|
2178
|
+
public struct Empty : Swift.Codable {
|
|
2179
|
+
public static let value: PixelPaySDK.Empty
|
|
2180
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
2181
|
+
public init(from decoder: Swift.Decoder) throws
|
|
2182
|
+
}
|
|
2183
|
+
extension PixelPaySDK.Empty : PixelPaySDK.EmptyResponse {
|
|
2184
|
+
public static func emptyValue() -> PixelPaySDK.Empty
|
|
2185
|
+
}
|
|
2186
|
+
public protocol DataDecoder {
|
|
2187
|
+
func decode<D>(_ type: D.Type, from data: Foundation.Data) throws -> D where D : Swift.Decodable
|
|
2188
|
+
}
|
|
2189
|
+
extension Foundation.JSONDecoder : PixelPaySDK.DataDecoder {
|
|
2190
|
+
}
|
|
2191
|
+
extension Foundation.PropertyListDecoder : PixelPaySDK.DataDecoder {
|
|
2192
|
+
}
|
|
2193
|
+
final public class DecodableResponseSerializer<T> : PixelPaySDK.ResponseSerializer where T : Swift.Decodable {
|
|
2194
|
+
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2195
|
+
final public let decoder: PixelPaySDK.DataDecoder
|
|
2196
|
+
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2197
|
+
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2198
|
+
public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer.defaultEmptyRequestMethods)
|
|
2199
|
+
final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> T
|
|
2200
|
+
public typealias SerializedObject = T
|
|
2201
|
+
@objc deinit
|
|
2202
|
+
}
|
|
2203
|
+
extension PixelPaySDK.DataRequest {
|
|
2204
|
+
@discardableResult
|
|
2205
|
+
public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
|
|
2206
|
+
}
|
|
2207
|
+
extension PixelPaySDK.DownloadRequest {
|
|
2208
|
+
@discardableResult
|
|
2209
|
+
public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
|
|
2210
|
+
}
|
|
2211
|
+
public protocol DataStreamSerializer {
|
|
2212
|
+
associatedtype SerializedObject
|
|
2213
|
+
func serialize(_ data: Foundation.Data) throws -> Self.SerializedObject
|
|
2214
|
+
}
|
|
2215
|
+
public struct DecodableStreamSerializer<T> : PixelPaySDK.DataStreamSerializer where T : Swift.Decodable {
|
|
2216
|
+
public let decoder: PixelPaySDK.DataDecoder
|
|
2217
|
+
public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2218
|
+
public init(decoder: PixelPaySDK.DataDecoder = JSONDecoder(), dataPreprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor())
|
|
2219
|
+
public func serialize(_ data: Foundation.Data) throws -> T
|
|
2220
|
+
public typealias SerializedObject = T
|
|
2221
|
+
}
|
|
2222
|
+
public struct PassthroughStreamSerializer : PixelPaySDK.DataStreamSerializer {
|
|
2223
|
+
public func serialize(_ data: Foundation.Data) throws -> Foundation.Data
|
|
2224
|
+
public typealias SerializedObject = Foundation.Data
|
|
2225
|
+
}
|
|
2226
|
+
public struct StringStreamSerializer : PixelPaySDK.DataStreamSerializer {
|
|
2227
|
+
public func serialize(_ data: Foundation.Data) throws -> Swift.String
|
|
2228
|
+
public typealias SerializedObject = Swift.String
|
|
2229
|
+
}
|
|
2230
|
+
extension PixelPaySDK.DataStreamRequest {
|
|
2231
|
+
@discardableResult
|
|
2232
|
+
final public func responseStream(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Foundation.Data, Swift.Never>) -> Self
|
|
2233
|
+
@discardableResult
|
|
2234
|
+
final public func responseStream<Serializer>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Serializer.SerializedObject, PixelPaySDK.AFError>) -> Self where Serializer : PixelPaySDK.DataStreamSerializer
|
|
2235
|
+
@discardableResult
|
|
2236
|
+
final public func responseStreamString(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Swift.String, Swift.Never>) -> Self
|
|
2237
|
+
@discardableResult
|
|
2238
|
+
final public func responseStreamDecodable<T>(of type: T.Type = T.self, on queue: Dispatch.DispatchQueue = .main, using decoder: PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor(), stream: @escaping PixelPaySDK.DataStreamRequest.Handler<T, PixelPaySDK.AFError>) -> Self where T : Swift.Decodable
|
|
2239
|
+
}
|
|
2240
|
+
public protocol RedirectHandler {
|
|
2241
|
+
func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
|
|
2242
|
+
}
|
|
2243
|
+
public struct Redirector {
|
|
2244
|
+
public enum Behavior {
|
|
2245
|
+
case follow
|
|
2246
|
+
case doNotFollow
|
|
2247
|
+
case modify((Foundation.URLSessionTask, Foundation.URLRequest, Foundation.HTTPURLResponse) -> Foundation.URLRequest?)
|
|
2248
|
+
}
|
|
2249
|
+
public static let follow: PixelPaySDK.Redirector
|
|
2250
|
+
public static let doNotFollow: PixelPaySDK.Redirector
|
|
2251
|
+
public let behavior: PixelPaySDK.Redirector.Behavior
|
|
2252
|
+
public init(behavior: PixelPaySDK.Redirector.Behavior)
|
|
2253
|
+
}
|
|
2254
|
+
extension PixelPaySDK.Redirector : PixelPaySDK.RedirectHandler {
|
|
2255
|
+
public func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
|
|
2256
|
+
}
|
|
2257
|
+
open class MultipartFormData {
|
|
2258
|
+
public static let encodingMemoryThreshold: Swift.UInt64
|
|
2259
|
+
open var contentType: Swift.String {
|
|
2260
|
+
get
|
|
2261
|
+
set
|
|
2262
|
+
}
|
|
2263
|
+
public var contentLength: Swift.UInt64 {
|
|
2264
|
+
get
|
|
2265
|
+
}
|
|
2266
|
+
final public let boundary: Swift.String
|
|
2267
|
+
public init(fileManager: Foundation.FileManager = .default, boundary: Swift.String? = nil)
|
|
2268
|
+
public func append(_ data: Foundation.Data, withName name: Swift.String, fileName: Swift.String? = nil, mimeType: Swift.String? = nil)
|
|
2269
|
+
public func append(_ fileURL: Foundation.URL, withName name: Swift.String)
|
|
2270
|
+
public func append(_ fileURL: Foundation.URL, withName name: Swift.String, fileName: Swift.String, mimeType: Swift.String)
|
|
2271
|
+
public func append(_ stream: Foundation.InputStream, withLength length: Swift.UInt64, name: Swift.String, fileName: Swift.String, mimeType: Swift.String)
|
|
2272
|
+
public func append(_ stream: Foundation.InputStream, withLength length: Swift.UInt64, headers: PixelPaySDK.HTTPHeaders)
|
|
2273
|
+
public func encode() throws -> Foundation.Data
|
|
2274
|
+
public func writeEncodedData(to fileURL: Foundation.URL) throws
|
|
2275
|
+
@objc deinit
|
|
2276
|
+
}
|
|
2277
|
+
extension UIKit.UIView {
|
|
2278
|
+
@_Concurrency.MainActor(unsafe) public func showPixelPayLoader()
|
|
2279
|
+
@_Concurrency.MainActor(unsafe) public func removePixelPayLoader()
|
|
2280
|
+
}
|
|
2281
|
+
public typealias Parameters = [Swift.String : Any]
|
|
2282
|
+
public protocol ParameterEncoding {
|
|
2283
|
+
func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
|
|
2284
|
+
}
|
|
2285
|
+
public struct URLEncoding : PixelPaySDK.ParameterEncoding {
|
|
2286
|
+
public enum Destination {
|
|
2287
|
+
case methodDependent
|
|
2288
|
+
case queryString
|
|
2289
|
+
case httpBody
|
|
2290
|
+
public static func == (a: PixelPaySDK.URLEncoding.Destination, b: PixelPaySDK.URLEncoding.Destination) -> Swift.Bool
|
|
2291
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2292
|
+
public var hashValue: Swift.Int {
|
|
2293
|
+
get
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
public enum ArrayEncoding {
|
|
2297
|
+
case brackets
|
|
2298
|
+
case noBrackets
|
|
2299
|
+
public static func == (a: PixelPaySDK.URLEncoding.ArrayEncoding, b: PixelPaySDK.URLEncoding.ArrayEncoding) -> Swift.Bool
|
|
2300
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2301
|
+
public var hashValue: Swift.Int {
|
|
2302
|
+
get
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
public enum BoolEncoding {
|
|
2306
|
+
case numeric
|
|
2307
|
+
case literal
|
|
2308
|
+
public static func == (a: PixelPaySDK.URLEncoding.BoolEncoding, b: PixelPaySDK.URLEncoding.BoolEncoding) -> Swift.Bool
|
|
2309
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2310
|
+
public var hashValue: Swift.Int {
|
|
2311
|
+
get
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
public static var `default`: PixelPaySDK.URLEncoding {
|
|
2315
|
+
get
|
|
2316
|
+
}
|
|
2317
|
+
public static var queryString: PixelPaySDK.URLEncoding {
|
|
2318
|
+
get
|
|
2319
|
+
}
|
|
2320
|
+
public static var httpBody: PixelPaySDK.URLEncoding {
|
|
2321
|
+
get
|
|
2322
|
+
}
|
|
2323
|
+
public let destination: PixelPaySDK.URLEncoding.Destination
|
|
2324
|
+
public let arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding
|
|
2325
|
+
public let boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding
|
|
2326
|
+
public init(destination: PixelPaySDK.URLEncoding.Destination = .methodDependent, arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding = .numeric)
|
|
2327
|
+
public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
|
|
2328
|
+
public func queryComponents(fromKey key: Swift.String, value: Any) -> [(Swift.String, Swift.String)]
|
|
2329
|
+
public func escape(_ string: Swift.String) -> Swift.String
|
|
2330
|
+
}
|
|
2331
|
+
public struct JSONEncoding : PixelPaySDK.ParameterEncoding {
|
|
2332
|
+
public static var `default`: PixelPaySDK.JSONEncoding {
|
|
2333
|
+
get
|
|
2334
|
+
}
|
|
2335
|
+
public static var prettyPrinted: PixelPaySDK.JSONEncoding {
|
|
2336
|
+
get
|
|
2337
|
+
}
|
|
2338
|
+
public let options: Foundation.JSONSerialization.WritingOptions
|
|
2339
|
+
public init(options: Foundation.JSONSerialization.WritingOptions = [])
|
|
2340
|
+
public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
|
|
2341
|
+
public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> Foundation.URLRequest
|
|
2342
|
+
}
|
|
2343
|
+
public struct AlamofireExtension<ExtendedType> {
|
|
2344
|
+
public var type: ExtendedType {
|
|
2345
|
+
get
|
|
2346
|
+
}
|
|
2347
|
+
public init(_ type: ExtendedType)
|
|
2348
|
+
}
|
|
2349
|
+
public protocol AlamofireExtended {
|
|
2350
|
+
associatedtype ExtendedType
|
|
2351
|
+
static var af: PixelPaySDK.AlamofireExtension<Self.ExtendedType>.Type { get set }
|
|
2352
|
+
var af: PixelPaySDK.AlamofireExtension<Self.ExtendedType> { get set }
|
|
2353
|
+
}
|
|
2354
|
+
extension PixelPaySDK.AlamofireExtended {
|
|
2355
|
+
public static var af: PixelPaySDK.AlamofireExtension<Self>.Type {
|
|
2356
|
+
get
|
|
2357
|
+
set
|
|
2358
|
+
}
|
|
2359
|
+
public var af: PixelPaySDK.AlamofireExtension<Self> {
|
|
2360
|
+
get
|
|
2361
|
+
set
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
@objc open class SessionDelegate : ObjectiveC.NSObject {
|
|
2365
|
+
public init(fileManager: Foundation.FileManager = .default)
|
|
2366
|
+
@objc deinit
|
|
2367
|
+
}
|
|
2368
|
+
extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDelegate {
|
|
2369
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
2370
|
+
}
|
|
2371
|
+
extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
|
|
2372
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge, completionHandler: @escaping (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
|
|
2373
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
2374
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, needNewBodyStream completionHandler: @escaping (Foundation.InputStream?) -> Swift.Void)
|
|
2375
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest, completionHandler: @escaping (Foundation.URLRequest?) -> Swift.Void)
|
|
2376
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
2377
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
|
|
2378
|
+
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
2379
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
2380
|
+
}
|
|
2381
|
+
extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDataDelegate {
|
|
2382
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
2383
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse, completionHandler: @escaping (Foundation.CachedURLResponse?) -> Swift.Void)
|
|
2384
|
+
}
|
|
2385
|
+
extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDownloadDelegate {
|
|
2386
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
|
|
2387
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
|
|
2388
|
+
@objc dynamic open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
|
|
2389
|
+
}
|
|
2390
|
+
extension PixelPaySDK.Request {
|
|
2391
|
+
public static let didResumeNotification: Foundation.Notification.Name
|
|
2392
|
+
public static let didSuspendNotification: Foundation.Notification.Name
|
|
2393
|
+
public static let didCancelNotification: Foundation.Notification.Name
|
|
2394
|
+
public static let didFinishNotification: Foundation.Notification.Name
|
|
2395
|
+
public static let didResumeTaskNotification: Foundation.Notification.Name
|
|
2396
|
+
public static let didSuspendTaskNotification: Foundation.Notification.Name
|
|
2397
|
+
public static let didCancelTaskNotification: Foundation.Notification.Name
|
|
2398
|
+
public static let didCompleteTaskNotification: Foundation.Notification.Name
|
|
2399
|
+
}
|
|
2400
|
+
extension Foundation.Notification {
|
|
2401
|
+
public var request: PixelPaySDK.Request? {
|
|
2402
|
+
get
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
@_hasMissingDesignatedInitializers final public class AlamofireNotifications : PixelPaySDK.EventMonitor {
|
|
2406
|
+
final public func requestDidResume(_ request: PixelPaySDK.Request)
|
|
2407
|
+
final public func requestDidSuspend(_ request: PixelPaySDK.Request)
|
|
2408
|
+
final public func requestDidCancel(_ request: PixelPaySDK.Request)
|
|
2409
|
+
final public func requestDidFinish(_ request: PixelPaySDK.Request)
|
|
2410
|
+
final public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
|
|
2411
|
+
final public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
|
|
2412
|
+
final public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
|
|
2413
|
+
final public func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
|
|
2414
|
+
@objc deinit
|
|
2415
|
+
}
|
|
2416
|
+
open class RetryPolicy : PixelPaySDK.RequestInterceptor {
|
|
2417
|
+
public static let defaultRetryLimit: Swift.UInt
|
|
2418
|
+
public static let defaultExponentialBackoffBase: Swift.UInt
|
|
2419
|
+
public static let defaultExponentialBackoffScale: Swift.Double
|
|
2420
|
+
public static let defaultRetryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2421
|
+
public static let defaultRetryableHTTPStatusCodes: Swift.Set<Swift.Int>
|
|
2422
|
+
public static let defaultRetryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
|
|
2423
|
+
final public let retryLimit: Swift.UInt
|
|
2424
|
+
final public let exponentialBackoffBase: Swift.UInt
|
|
2425
|
+
final public let exponentialBackoffScale: Swift.Double
|
|
2426
|
+
final public let retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2427
|
+
final public let retryableHTTPStatusCodes: Swift.Set<Swift.Int>
|
|
2428
|
+
final public let retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
|
|
2429
|
+
public init(retryLimit: Swift.UInt = RetryPolicy.defaultRetryLimit, exponentialBackoffBase: Swift.UInt = RetryPolicy.defaultExponentialBackoffBase, exponentialBackoffScale: Swift.Double = RetryPolicy.defaultExponentialBackoffScale, retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod> = RetryPolicy.defaultRetryableHTTPMethods, retryableHTTPStatusCodes: Swift.Set<Swift.Int> = RetryPolicy.defaultRetryableHTTPStatusCodes, retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code> = RetryPolicy.defaultRetryableURLErrorCodes)
|
|
2430
|
+
open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
2431
|
+
open func shouldRetry(request: PixelPaySDK.Request, dueTo error: Swift.Error) -> Swift.Bool
|
|
2432
|
+
@objc deinit
|
|
2433
|
+
}
|
|
2434
|
+
open class ConnectionLostRetryPolicy : PixelPaySDK.RetryPolicy {
|
|
2435
|
+
public init(retryLimit: Swift.UInt = RetryPolicy.defaultRetryLimit, exponentialBackoffBase: Swift.UInt = RetryPolicy.defaultExponentialBackoffBase, exponentialBackoffScale: Swift.Double = RetryPolicy.defaultExponentialBackoffScale, retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod> = RetryPolicy.defaultRetryableHTTPMethods)
|
|
2436
|
+
@objc deinit
|
|
2437
|
+
}
|
|
2438
|
+
extension Swift.Encodable {
|
|
2439
|
+
public var requestDictionary: [Swift.String : Any]? {
|
|
2440
|
+
get
|
|
2441
|
+
}
|
|
2442
|
+
public func toJson() -> Swift.String
|
|
2443
|
+
}
|
|
2444
|
+
extension Swift.String {
|
|
2445
|
+
public func toMD5() -> Swift.String
|
|
2446
|
+
}
|
|
2447
|
+
public protocol ParameterEncoder {
|
|
2448
|
+
func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
|
|
2449
|
+
}
|
|
2450
|
+
open class JSONParameterEncoder : PixelPaySDK.ParameterEncoder {
|
|
2451
|
+
public static var `default`: PixelPaySDK.JSONParameterEncoder {
|
|
2452
|
+
get
|
|
2453
|
+
}
|
|
2454
|
+
public static var prettyPrinted: PixelPaySDK.JSONParameterEncoder {
|
|
2455
|
+
get
|
|
2456
|
+
}
|
|
2457
|
+
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
2458
|
+
public static var sortedKeys: PixelPaySDK.JSONParameterEncoder {
|
|
2459
|
+
get
|
|
2460
|
+
}
|
|
2461
|
+
final public let encoder: Foundation.JSONEncoder
|
|
2462
|
+
public init(encoder: Foundation.JSONEncoder = JSONEncoder())
|
|
2463
|
+
open func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
|
|
2464
|
+
@objc deinit
|
|
2465
|
+
}
|
|
2466
|
+
open class URLEncodedFormParameterEncoder : PixelPaySDK.ParameterEncoder {
|
|
2467
|
+
public enum Destination {
|
|
2468
|
+
case methodDependent
|
|
2469
|
+
case queryString
|
|
2470
|
+
case httpBody
|
|
2471
|
+
public static func == (a: PixelPaySDK.URLEncodedFormParameterEncoder.Destination, b: PixelPaySDK.URLEncodedFormParameterEncoder.Destination) -> Swift.Bool
|
|
2472
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2473
|
+
public var hashValue: Swift.Int {
|
|
2474
|
+
get
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
public static var `default`: PixelPaySDK.URLEncodedFormParameterEncoder {
|
|
2478
|
+
get
|
|
2479
|
+
}
|
|
2480
|
+
final public let encoder: PixelPaySDK.URLEncodedFormEncoder
|
|
2481
|
+
final public let destination: PixelPaySDK.URLEncodedFormParameterEncoder.Destination
|
|
2482
|
+
public init(encoder: PixelPaySDK.URLEncodedFormEncoder = URLEncodedFormEncoder(), destination: PixelPaySDK.URLEncodedFormParameterEncoder.Destination = .methodDependent)
|
|
2483
|
+
open func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
|
|
2484
|
+
@objc deinit
|
|
2485
|
+
}
|
|
2486
|
+
public class RequestBehaviour : Swift.Codable {
|
|
2487
|
+
public var env: Swift.String?
|
|
2488
|
+
public var lang: Swift.String?
|
|
2489
|
+
public var from: Swift.String?
|
|
2490
|
+
public var sdk_version: Swift.String?
|
|
2491
|
+
public init()
|
|
2492
|
+
@objc deinit
|
|
2493
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
2494
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
2495
|
+
}
|
|
2496
|
+
@_inheritsConvenienceInitializers public class FailureResponse : PixelPaySDK.Response {
|
|
2497
|
+
override public init()
|
|
2498
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
2499
|
+
@objc deinit
|
|
2500
|
+
}
|
|
2501
|
+
extension Foundation.URLRequest {
|
|
2502
|
+
public var method: PixelPaySDK.HTTPMethod? {
|
|
2503
|
+
get
|
|
2504
|
+
set
|
|
2505
|
+
}
|
|
2506
|
+
public func validate() throws
|
|
2507
|
+
}
|
|
2508
|
+
@_hasMissingDesignatedInitializers public class TransactionResult : Swift.Codable {
|
|
2509
|
+
public var transaction_type: Swift.String?
|
|
2510
|
+
public var transaction_approved_amount: Swift.Double?
|
|
2511
|
+
public var transaction_amount: Swift.Double?
|
|
2512
|
+
public var transaction_auth: Swift.String?
|
|
2513
|
+
public var transaction_terminal: Swift.String?
|
|
2514
|
+
public var transaction_merchant: Swift.String?
|
|
2515
|
+
public var response_cvn: Swift.String?
|
|
2516
|
+
public var response_avs: Swift.String?
|
|
2517
|
+
public var response_cavv: Swift.String?
|
|
2518
|
+
public var transaction_id: Swift.String?
|
|
2519
|
+
public var transaction_reference: Swift.String?
|
|
2520
|
+
public var transaction_time: Swift.String?
|
|
2521
|
+
public var transaction_date: Swift.String?
|
|
2522
|
+
public var response_approved: Swift.Bool?
|
|
2523
|
+
public var response_incomplete: Swift.Bool?
|
|
2524
|
+
public var response_code: Swift.String?
|
|
2525
|
+
public var response_time: Swift.String?
|
|
2526
|
+
public var response_reason: Swift.String?
|
|
2527
|
+
public var payment_uuid: Swift.String?
|
|
2528
|
+
public var payment_hash: Swift.String?
|
|
2529
|
+
public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
|
|
2530
|
+
public static func fromResponse(response: PixelPaySDK.Response) -> PixelPaySDK.TransactionResult
|
|
2531
|
+
@objc deinit
|
|
2532
|
+
public func encode(to encoder: Swift.Encoder) throws
|
|
2533
|
+
required public init(from decoder: Swift.Decoder) throws
|
|
2534
|
+
}
|
|
2535
|
+
@_hasMissingDesignatedInitializers open class NetworkReachabilityManager {
|
|
2536
|
+
public enum NetworkReachabilityStatus {
|
|
2537
|
+
case unknown
|
|
2538
|
+
case notReachable
|
|
2539
|
+
case reachable(PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType)
|
|
2540
|
+
public enum ConnectionType {
|
|
2541
|
+
case ethernetOrWiFi
|
|
2542
|
+
case cellular
|
|
2543
|
+
public static func == (a: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType, b: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType) -> Swift.Bool
|
|
2544
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
2545
|
+
public var hashValue: Swift.Int {
|
|
2546
|
+
get
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
public typealias Listener = (PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus) -> Swift.Void
|
|
2551
|
+
public static let `default`: PixelPaySDK.NetworkReachabilityManager?
|
|
2552
|
+
open var isReachable: Swift.Bool {
|
|
2553
|
+
get
|
|
2554
|
+
}
|
|
2555
|
+
open var isReachableOnCellular: Swift.Bool {
|
|
2556
|
+
get
|
|
2557
|
+
}
|
|
2558
|
+
open var isReachableOnEthernetOrWiFi: Swift.Bool {
|
|
2559
|
+
get
|
|
2560
|
+
}
|
|
2561
|
+
final public let reachabilityQueue: Dispatch.DispatchQueue
|
|
2562
|
+
open var flags: SystemConfiguration.SCNetworkReachabilityFlags? {
|
|
2563
|
+
get
|
|
2564
|
+
}
|
|
2565
|
+
open var status: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus {
|
|
2566
|
+
get
|
|
2567
|
+
}
|
|
2568
|
+
convenience public init?(host: Swift.String)
|
|
2569
|
+
convenience public init?()
|
|
2570
|
+
@objc deinit
|
|
2571
|
+
@discardableResult
|
|
2572
|
+
open func startListening(onQueue queue: Dispatch.DispatchQueue = .main, onUpdatePerforming listener: @escaping PixelPaySDK.NetworkReachabilityManager.Listener) -> Swift.Bool
|
|
2573
|
+
open func stopListening()
|
|
2574
|
+
}
|
|
2575
|
+
extension PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus : Swift.Equatable {
|
|
2576
|
+
public static func == (a: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus, b: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus) -> Swift.Bool
|
|
2577
|
+
}
|
|
2578
|
+
public class ServiceBehaviour {
|
|
2579
|
+
public init(settings: PixelPaySDK.Settings)
|
|
2580
|
+
public func showLoader()
|
|
2581
|
+
public func hideLoader()
|
|
2582
|
+
@objc deinit
|
|
2583
|
+
}
|
|
2584
|
+
extension PixelPaySDK.Request.State : Swift.Equatable {}
|
|
2585
|
+
extension PixelPaySDK.Request.State : Swift.Hashable {}
|
|
2586
|
+
extension PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding : Swift.Equatable {}
|
|
2587
|
+
extension PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding : Swift.Hashable {}
|
|
2588
|
+
extension PixelPaySDK.URLEncodedFormEncoder.BoolEncoding : Swift.Equatable {}
|
|
2589
|
+
extension PixelPaySDK.URLEncodedFormEncoder.BoolEncoding : Swift.Hashable {}
|
|
2590
|
+
extension PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding : Swift.Equatable {}
|
|
2591
|
+
extension PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding : Swift.Hashable {}
|
|
2592
|
+
extension PixelPaySDK.SwiftyJSONError : Swift.Equatable {}
|
|
2593
|
+
extension PixelPaySDK.SwiftyJSONError : Swift.Hashable {}
|
|
2594
|
+
extension PixelPaySDK.SwiftyJSONError : Swift.RawRepresentable {}
|
|
2595
|
+
extension PixelPaySDK.`Type` : Swift.Equatable {}
|
|
2596
|
+
extension PixelPaySDK.`Type` : Swift.Hashable {}
|
|
2597
|
+
extension PixelPaySDK.`Type` : Swift.RawRepresentable {}
|
|
2598
|
+
extension PixelPaySDK.writingOptionsKeys : Swift.Equatable {}
|
|
2599
|
+
extension PixelPaySDK.writingOptionsKeys : Swift.Hashable {}
|
|
2600
|
+
extension PixelPaySDK.AuthenticationError : Swift.Equatable {}
|
|
2601
|
+
extension PixelPaySDK.AuthenticationError : Swift.Hashable {}
|
|
2602
|
+
extension PixelPaySDK.URLEncoding.Destination : Swift.Equatable {}
|
|
2603
|
+
extension PixelPaySDK.URLEncoding.Destination : Swift.Hashable {}
|
|
2604
|
+
extension PixelPaySDK.URLEncoding.ArrayEncoding : Swift.Equatable {}
|
|
2605
|
+
extension PixelPaySDK.URLEncoding.ArrayEncoding : Swift.Hashable {}
|
|
2606
|
+
extension PixelPaySDK.URLEncoding.BoolEncoding : Swift.Equatable {}
|
|
2607
|
+
extension PixelPaySDK.URLEncoding.BoolEncoding : Swift.Hashable {}
|
|
2608
|
+
extension PixelPaySDK.URLEncodedFormParameterEncoder.Destination : Swift.Equatable {}
|
|
2609
|
+
extension PixelPaySDK.URLEncodedFormParameterEncoder.Destination : Swift.Hashable {}
|
|
2610
|
+
extension PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType : Swift.Equatable {}
|
|
2611
|
+
extension PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType : Swift.Hashable {}
|