@jimrising/easymerchantsdk-react-native 1.0.3 → 1.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 (175) hide show
  1. package/.idea/em-MobileCheckoutSDK-ReactNative.iml +0 -9
  2. package/.idea/misc.xml +1 -0
  3. package/.idea/modules.xml +0 -8
  4. package/.idea/workspace.xml +188 -0
  5. package/README.md +20 -1
  6. package/android/build/.transforms/27d3a0c22098810ca42038b1b8102417/results.bin +0 -1
  7. package/android/build/.transforms/27d3a0c22098810ca42038b1b8102417/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/BuildConfig.dex +0 -0
  8. package/android/build/.transforms/27d3a0c22098810ca42038b1b8102417/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkModule$1.dex +0 -0
  9. package/android/build/.transforms/27d3a0c22098810ca42038b1b8102417/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkModule.dex +0 -0
  10. package/android/build/.transforms/27d3a0c22098810ca42038b1b8102417/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkPackage.dex +0 -0
  11. package/android/build/.transforms/27d3a0c22098810ca42038b1b8102417/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  12. package/android/build/.transforms/41cd2635778c1bb5c18af2c46eb9196e/results.bin +0 -1
  13. package/android/build/.transforms/41cd2635778c1bb5c18af2c46eb9196e/transformed/classes/classes_dex/classes.dex +0 -0
  14. package/android/build/.transforms/6b36622787f586c4b6e3df98c5efa11c/results.bin +0 -1
  15. package/android/build/.transforms/6b36622787f586c4b6e3df98c5efa11c/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/BuildConfig.dex +0 -0
  16. package/android/build/.transforms/6b36622787f586c4b6e3df98c5efa11c/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkModule$1.dex +0 -0
  17. package/android/build/.transforms/6b36622787f586c4b6e3df98c5efa11c/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkModule.dex +0 -0
  18. package/android/build/.transforms/6b36622787f586c4b6e3df98c5efa11c/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkPackage.dex +0 -0
  19. package/android/build/.transforms/6b36622787f586c4b6e3df98c5efa11c/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  20. package/android/build/.transforms/7eb7ceaa43c9e8323ac65b4f785987b6/results.bin +0 -1
  21. package/android/build/.transforms/7eb7ceaa43c9e8323ac65b4f785987b6/transformed/classes/classes_dex/classes.dex +0 -0
  22. package/android/build/.transforms/a8b93af4be449a0e2cca4bd6ddb6685e/results.bin +0 -1
  23. package/android/build/.transforms/a8b93af4be449a0e2cca4bd6ddb6685e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/BuildConfig.dex +0 -0
  24. package/android/build/.transforms/a8b93af4be449a0e2cca4bd6ddb6685e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkModule$1.dex +0 -0
  25. package/android/build/.transforms/a8b93af4be449a0e2cca4bd6ddb6685e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkModule.dex +0 -0
  26. package/android/build/.transforms/a8b93af4be449a0e2cca4bd6ddb6685e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/reactlibrary/RNEasymerchantsdkPackage.dex +0 -0
  27. package/android/build/.transforms/a8b93af4be449a0e2cca4bd6ddb6685e/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  28. package/android/build/.transforms/f1a160720415bc76d8d6c6734c5acf3e/results.bin +0 -1
  29. package/android/build/.transforms/f1a160720415bc76d8d6c6734c5acf3e/transformed/classes/classes_dex/classes.dex +0 -0
  30. package/android/build/generated/source/buildConfig/debug/com/reactlibrary/BuildConfig.java +0 -10
  31. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  32. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  33. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  34. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  35. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  36. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  37. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  38. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  39. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  40. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  41. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  42. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  43. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  44. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  45. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  46. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  47. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  48. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  49. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  50. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/RNEasymerchantsdkModule$1.class.uniqueId2 +0 -0
  51. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/RNEasymerchantsdkModule.class.uniqueId1 +0 -0
  52. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/RNEasymerchantsdkPackage.class.uniqueId0 +0 -0
  53. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  54. package/android/build.gradle +0 -55
  55. package/android/src/main/AndroidManifest.xml +0 -5
  56. package/android/src/main/java/com/reactlibrary/RNEasymerchantsdkModule.java +0 -72
  57. package/android/src/main/java/com/reactlibrary/RNEasymerchantsdkPackage.java +0 -28
  58. package/index.js +0 -5
  59. package/ios/Bundle/EasyPayBundle.swift +0 -22
  60. package/ios/Classes/EasyMerchantSdk.swift +0 -123
  61. package/ios/Classes/EasyPayViewController.swift +0 -90
  62. package/ios/CustomComponents/CheckboxButton.swift +0 -20
  63. package/ios/CustomComponents/FilledButton.swift +0 -17
  64. package/ios/CustomComponents/OutlineButton.swift +0 -26
  65. package/ios/CustomComponents/TextFieldStackView.swift +0 -96
  66. package/ios/EnvironmentConfig.swift +0 -63
  67. package/ios/Example/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
  68. package/ios/Example/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -13
  69. package/ios/Example/Assets.xcassets/Contents.json +0 -6
  70. package/ios/Example/Base.lproj/LaunchScreen.storyboard +0 -25
  71. package/ios/Example/Base.lproj/Main.storyboard +0 -65
  72. package/ios/Example/SceneDelegate.swift +0 -52
  73. package/ios/Example/ViewController.swift +0 -84
  74. package/ios/Extensions/UIColor.swift +0 -22
  75. package/ios/Extensions/UIFont.swift +0 -80
  76. package/ios/Extensions/UIViewController+Extension.swift +0 -42
  77. package/ios/Models/AdditionalInfo.swift +0 -16
  78. package/ios/Models/BankAccountModel.swift +0 -23
  79. package/ios/Models/BillingInfo.swift +0 -16
  80. package/ios/Models/CardModel.swift +0 -19
  81. package/ios/Models/Country.swift +0 -19
  82. package/ios/Models/PaymentInfo.swift +0 -46
  83. package/ios/Models/Request.swift +0 -245
  84. package/ios/Models/Result.swift +0 -69
  85. package/ios/Pods/UserDefaults/UserStoreSingleton.swift +0 -200
  86. package/ios/Pods/ViewControllers/AdditionalInfoVC.swift +0 -1073
  87. package/ios/Pods/ViewControllers/BaseVC.swift +0 -117
  88. package/ios/Pods/ViewControllers/BillingInfoVC/BillingInfoVC.swift +0 -616
  89. package/ios/Pods/ViewControllers/BillingInfoVC/Cells/CityListTVC.swift +0 -19
  90. package/ios/Pods/ViewControllers/BillingInfoVC/Cells/CountryListTVC.swift +0 -19
  91. package/ios/Pods/ViewControllers/BillingInfoVC/Cells/StateListTVC.swift +0 -19
  92. package/ios/Pods/ViewControllers/CountryListVC.swift +0 -367
  93. package/ios/Pods/ViewControllers/EmailVerificationVC.swift +0 -192
  94. package/ios/Pods/ViewControllers/OTPVerificationVC.swift +0 -1009
  95. package/ios/Pods/ViewControllers/PaymentDoneVC.swift +0 -94
  96. package/ios/Pods/ViewControllers/PaymentErrorVC.swift +0 -43
  97. package/ios/Pods/ViewControllers/PaymentInformation/AccountTypeTVC.swift +0 -19
  98. package/ios/Pods/ViewControllers/PaymentInformation/PaymentInfoVC.swift +0 -4269
  99. package/ios/Pods/ViewControllers/PaymentInformation/PaymentInformationCVC.swift +0 -20
  100. package/ios/Pods/ViewControllers/PaymentInformation/SavedAccountsTVC/SavedAccountTVC.swift +0 -37
  101. package/ios/Pods/ViewControllers/PaymentInformation/SavedAccountsTVC/SavedAccountTVC.xib +0 -163
  102. package/ios/Pods/ViewControllers/PaymentInformation/SavedCardsTVC/SavedCardsTVC.swift +0 -40
  103. package/ios/Pods/ViewControllers/PaymentInformation/SavedCardsTVC/SavedCardsTVC.xib +0 -184
  104. package/ios/Pods/ViewControllers/TermAndConditionsVC.swift +0 -21
  105. package/ios/Resources/Assets.xcassets/Card/Amex.imageset/206682_american_express_method_card_payment_icon.svg +0 -1
  106. package/ios/Resources/Assets.xcassets/Card/Amex.imageset/Contents.json +0 -12
  107. package/ios/Resources/Assets.xcassets/Card/Contents.json +0 -6
  108. package/ios/Resources/Assets.xcassets/Card/DinersClub.imageset/472318_card_club_diners_dinner_payment_icon.svg +0 -1
  109. package/ios/Resources/Assets.xcassets/Card/DinersClub.imageset/Contents.json +0 -12
  110. package/ios/Resources/Assets.xcassets/Card/Discover.imageset/206686_network_payment_discover_card_method_icon.svg +0 -1
  111. package/ios/Resources/Assets.xcassets/Card/Discover.imageset/Contents.json +0 -12
  112. package/ios/Resources/Assets.xcassets/Card/JCB.imageset/358102_card_jcb_payment_icon.svg +0 -1
  113. package/ios/Resources/Assets.xcassets/Card/JCB.imageset/Contents.json +0 -12
  114. package/ios/Resources/Assets.xcassets/Card/MasterCard.imageset/206680_master_method_card_payment_icon.svg +0 -1
  115. package/ios/Resources/Assets.xcassets/Card/MasterCard.imageset/Contents.json +0 -12
  116. package/ios/Resources/Assets.xcassets/Card/UnionPay.imageset/1468976_card_payment_unionpay_icon.svg +0 -1
  117. package/ios/Resources/Assets.xcassets/Card/UnionPay.imageset/Contents.json +0 -12
  118. package/ios/Resources/Assets.xcassets/Card/Visa.imageset/206684_visa_method_card_payment_icon.svg +0 -1
  119. package/ios/Resources/Assets.xcassets/Card/Visa.imageset/Contents.json +0 -12
  120. package/ios/Resources/Assets.xcassets/Card/maestro.imageset/Contents.json +0 -12
  121. package/ios/Resources/Assets.xcassets/Card/maestro.imageset/maestro.svg +0 -1
  122. package/ios/Resources/Assets.xcassets/Card/paypal.imageset/206675_paypal_method_payment_icon.svg +0 -1
  123. package/ios/Resources/Assets.xcassets/Card/paypal.imageset/Contents.json +0 -12
  124. package/ios/Resources/Assets.xcassets/Card/rupay.imageset/Contents.json +0 -12
  125. package/ios/Resources/Assets.xcassets/Card/rupay.imageset/rupay.svg +0 -1
  126. package/ios/Resources/Assets.xcassets/Card/unknown_card.imageset/4635000_card_credit_digital_money_icon.svg +0 -1
  127. package/ios/Resources/Assets.xcassets/Card/unknown_card.imageset/Contents.json +0 -12
  128. package/ios/Resources/Assets.xcassets/Card/worldpay.imageset/Contents.json +0 -12
  129. package/ios/Resources/Assets.xcassets/Card/worldpay.imageset/worldpay.svg +0 -1
  130. package/ios/Resources/Assets.xcassets/Contents.json +0 -6
  131. package/ios/Resources/Assets.xcassets/Ellipsis.imageset/Contents.json +0 -23
  132. package/ios/Resources/Assets.xcassets/Ellipsis.imageset/icons8-menu-30.png +0 -0
  133. package/ios/Resources/Assets.xcassets/Ellipsis.imageset/icons8-menu-60.png +0 -0
  134. package/ios/Resources/Assets.xcassets/Ellipsis.imageset/icons8-menu-90.png +0 -0
  135. package/ios/Resources/Assets.xcassets/Rotate.imageset/Contents.json +0 -23
  136. package/ios/Resources/Assets.xcassets/Rotate.imageset/refresh-cw-2.png +0 -0
  137. package/ios/Resources/Assets.xcassets/Rotate.imageset/refresh-cw-3.png +0 -0
  138. package/ios/Resources/Assets.xcassets/Rotate.imageset/refresh-cw.png +0 -0
  139. package/ios/Resources/Assets.xcassets/amexCvc.imageset/Contents.json +0 -22
  140. package/ios/Resources/Assets.xcassets/amexCvc.imageset/Group-1.png +0 -0
  141. package/ios/Resources/Assets.xcassets/amexCvc.imageset/Group.png +0 -0
  142. package/ios/Resources/Assets.xcassets/check.imageset/Contents.json +0 -23
  143. package/ios/Resources/Assets.xcassets/check.imageset/check-circle-4.png +0 -0
  144. package/ios/Resources/Assets.xcassets/check.imageset/check-circle-5.png +0 -0
  145. package/ios/Resources/Assets.xcassets/check.imageset/check-circle-6.png +0 -0
  146. package/ios/Resources/Assets.xcassets/chip.imageset/Contents.json +0 -21
  147. package/ios/Resources/Assets.xcassets/chip.imageset/chip.png +0 -0
  148. package/ios/Resources/Assets.xcassets/loaderImage.imageset/Contents.json +0 -23
  149. package/ios/Resources/Assets.xcassets/loaderImage.imageset/check-circle-2.png +0 -0
  150. package/ios/Resources/Assets.xcassets/loaderImage.imageset/check-circle-3.png +0 -0
  151. package/ios/Resources/Assets.xcassets/loaderImage.imageset/check-circle.png +0 -0
  152. package/ios/Resources/Assets.xcassets/payment_done_icon.imageset/Contents.json +0 -23
  153. package/ios/Resources/Assets.xcassets/payment_done_icon.imageset/payment_done_icon 1.png +0 -0
  154. package/ios/Resources/Assets.xcassets/payment_done_icon.imageset/payment_done_icon 2.png +0 -0
  155. package/ios/Resources/Assets.xcassets/payment_done_icon.imageset/payment_done_icon.png +0 -0
  156. package/ios/Resources/Assets.xcassets/payment_error_icon.imageset/Contents.json +0 -23
  157. package/ios/Resources/Assets.xcassets/payment_error_icon.imageset/payment_error_icon 1.png +0 -0
  158. package/ios/Resources/Assets.xcassets/payment_error_icon.imageset/payment_error_icon 2.png +0 -0
  159. package/ios/Resources/Assets.xcassets/payment_error_icon.imageset/payment_error_icon.png +0 -0
  160. package/ios/Resources/Assets.xcassets/wallet.imageset/Contents.json +0 -23
  161. package/ios/Resources/Assets.xcassets/wallet.imageset/icons8-wallet-24(@1/303/227).png +0 -0
  162. package/ios/Resources/Assets.xcassets/wallet.imageset/icons8-wallet-48(@2/303/227).png +0 -0
  163. package/ios/Resources/Assets.xcassets/wallet.imageset/icons8-wallet-72(@3/303/227).png +0 -0
  164. package/ios/Resources/Colors.xcassets/00000008.colorset/Contents.json +0 -20
  165. package/ios/Resources/Colors.xcassets/00000016.colorset/Contents.json +0 -20
  166. package/ios/Resources/Colors.xcassets/00000038.colorset/Contents.json +0 -20
  167. package/ios/Resources/Colors.xcassets/00000060.colorset/Contents.json +0 -20
  168. package/ios/Resources/Colors.xcassets/1757D9.colorset/Contents.json +0 -20
  169. package/ios/Resources/Colors.xcassets/Contents.json +0 -6
  170. package/ios/Resources/Colors.xcassets/E93939.colorset/Contents.json +0 -20
  171. package/ios/Resources/PrivacyInfo.xcprivacy +0 -10
  172. package/ios/ThirdParty/Keyboad Handling/KeyboardObserver.swift +0 -74
  173. package/ios/easymerchantsdk.storyboard +0 -5885
  174. package/package.json +1 -1
  175. package/src/index.js +0 -44
@@ -1,94 +0,0 @@
1
- //
2
- // PaymentDoneVC.swift
3
- // EasyPay
4
- //
5
- // Created by Mony's Mac on 13/08/24.
6
- //
7
-
8
- import UIKit
9
-
10
- class PaymentDoneVC: UIViewController {
11
-
12
- @IBOutlet weak var lblDate: UILabel!
13
- @IBOutlet weak var lblTransactionId: UILabel!
14
- @IBOutlet weak var lblPaymentSource: UILabel!
15
- @IBOutlet weak var lblTotal: UILabel!
16
-
17
- var chargeData: [String: Any]?
18
- var selectedPaymentMethod: String?
19
- var easyPayDelegate: EasyPayViewControllerDelegate?
20
-
21
- //Crypto
22
- var amount: String?
23
- var dateCreated: String?
24
- var transactionId: String?
25
- var isFrom = String()
26
-
27
- override func viewDidLoad() {
28
- super.viewDidLoad()
29
-
30
- if isFrom == "Crypto" {
31
- // Display the crypto data if available
32
- lblTotal.text = "$\(amount ?? "0.00")"
33
- lblTransactionId.text = transactionId ?? "Transaction ID not available"
34
-
35
- // Validate and format the date
36
- if let dateCreated = dateCreated, isValidDate(dateCreated) {
37
- lblDate.text = dateCreated
38
- } else {
39
- lblDate.text = "Date not available"
40
- }
41
-
42
- } else {
43
- // Default behavior for non-crypto payment methods
44
- if let chargeData = chargeData {
45
- print("Charge Data: \(chargeData)")
46
-
47
- if let chargeId = chargeData["charge_id"] as? String {
48
- lblTransactionId.text = chargeId
49
- } else {
50
- lblTransactionId.text = "Charge ID not available"
51
- }
52
- }
53
-
54
- lblPaymentSource.text = selectedPaymentMethod
55
- lblTotal.text = "$\(UserStoreSingleton.shared.price ?? "0.00")"
56
- showDateAndTime()
57
- }
58
-
59
- }
60
-
61
- // Helper method to check if the date string is valid
62
- func isValidDate(_ dateString: String) -> Bool {
63
- let dateFormatter = DateFormatter()
64
- dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
65
- return dateFormatter.date(from: dateString) != nil
66
- }
67
-
68
- func showDateAndTime() {
69
- // Get the current date and time
70
- let currentDate = Date()
71
- // Format the date and time as "dd/MM/yyyy, HH:mm:ss"
72
- let dateFormatter = DateFormatter()
73
- dateFormatter.dateFormat = "dd/MM/yyyy, HH:mm:ss"
74
- let formattedDate = dateFormatter.string(from: currentDate)
75
- // Set the formatted date and time to the lblDate
76
- lblDate.text = formattedDate
77
- }
78
-
79
- @IBAction func actionBtnDone(_ sender: UIButton) {
80
- let result = Result(type: .success, chargeData: chargeData)
81
- easyPayDelegate?.easyPayController(self.navigationController as! EasyPayViewController, didFinishWith: result)
82
-
83
- if let easyPayVC = self.navigationController as? EasyPayViewController {
84
- easyPayVC.dismiss(animated: true, completion: {
85
- // Ensure the chargeData is sent back to the starting screen
86
- if let delegate = easyPayVC.easyPayDelegate {
87
- UserStoreSingleton.shared.isLoggedIn = false
88
- delegate.easyPayController(easyPayVC, didFinishWith: result)
89
- }
90
- })
91
- }
92
- }
93
-
94
- }
@@ -1,43 +0,0 @@
1
- //
2
- // PaymentErrorVC.swift
3
- // EasyPay
4
- //
5
- // Created by Mony's Mac on 20/08/24.
6
- //
7
-
8
- import UIKit
9
-
10
- class PaymentErrorVC: UIViewController {
11
-
12
- @IBOutlet weak var lblError: UILabel!
13
-
14
- var errorMessage: String?
15
- var easyPayDelegate: EasyPayViewControllerDelegate?
16
-
17
- override func viewDidLoad() {
18
- super.viewDidLoad()
19
- lblError.text = errorMessage
20
- }
21
-
22
- @IBAction func actionBtnDone(_ sender: UIButton) {
23
- let result = Result(type: .error, chargeData: nil)
24
-
25
- // Pass the error message back using the delegate
26
- easyPayDelegate?.easyPayController(self.navigationController as! EasyPayViewController, didFinishWith: result)
27
-
28
- if let easyPayVC = self.navigationController as? EasyPayViewController {
29
- easyPayVC.dismiss(animated: true, completion: {
30
- // Ensure the error message is sent back to the starting screen
31
- if let delegate = easyPayVC.easyPayDelegate {
32
- UserStoreSingleton.shared.isLoggedIn = false
33
- let errorResult = Result(type: .error, chargeData: ["errorMessage": self.errorMessage ?? "Unknown error"])
34
- delegate.easyPayController(easyPayVC, didFinishWith: errorResult)
35
- }
36
- })
37
- }
38
- }
39
-
40
- }
41
-
42
-
43
-
@@ -1,19 +0,0 @@
1
- //
2
- // AccountTypeTVC.swift
3
- // EasyPay
4
- //
5
- // Created by Mony's Mac on 14/08/24.
6
- //
7
-
8
- import UIKit
9
-
10
- class AccountTypeTVC: UITableViewCell {
11
-
12
- @IBOutlet weak var lblAccountType: UILabel!
13
-
14
- override func awakeFromNib() {
15
- super.awakeFromNib()
16
-
17
- }
18
-
19
- }