@pixelpay/capacitor-plugin 2.0.3 → 2.0.5

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