Manos Chorianopoulos

privacy fixes, CustomerStateModel additions

No preview for this file type
......@@ -10,7 +10,7 @@ import RSBarcodes_Swift
import AVFoundation
// import SwiftEventBus
@objc class CouponBarcodeViewController: UIViewController {
@objc public class CouponBarcodeViewController: UIViewController {
@IBOutlet weak var backgroundImage: UIImageView!
@IBOutlet weak var scrollView: UIScrollView!
@IBOutlet weak var scrollContentView: UIView!
......
......@@ -8,7 +8,7 @@
import UIKit
// import SwiftEventBus
@objc class CouponViewController: UIViewController {
@objc public class CouponViewController: UIViewController {
@IBOutlet weak var mainView: UIView!
@IBOutlet weak var backgroundImage: UIImageView!
@IBOutlet weak var scrollView: UIScrollView!
......
......@@ -8,7 +8,7 @@
import Foundation
import UIKit
@objc class CouponsTableViewCell: UITableViewCell {
@objc public class CouponsTableViewCell: UITableViewCell {
@IBOutlet weak var couponBgImage: UIImageView!
@IBOutlet weak var couponImage: UIImageView!
@IBOutlet weak var borderView: UIView!
......
......@@ -7,7 +7,7 @@
import UIKit
class LoyaltyAnalysisViewController: UIViewController {
@objc public class LoyaltyAnalysisViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
......
......@@ -7,7 +7,7 @@
import UIKit
class StepsViewController: UIViewController {
@objc public class StepsViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
......
......@@ -8,7 +8,7 @@
import Foundation
import SwiftUI
struct GlobalVariables {
public struct GlobalVariables {
static var campaigns: Array<swiftApi.CampaignItemModel> = []
}
......@@ -1311,12 +1311,15 @@ public class swiftApi {
public class CustomerStateModel {
private var nonTelco: Bool
private var acceptedConsent: Bool
private var guid: String
private var msisdnList: Array<String>
public init() {
self.nonTelco = false
self.acceptedConsent = false
self.guid = ""
self.msisdnList = []
}
public var _nonTelco: Bool {
......@@ -1336,6 +1339,24 @@ public class swiftApi {
self.acceptedConsent = newValue
}
}
public var _guid: String {
get { // getter
return self.guid
}
set(newValue) { //setter
self.guid = newValue
}
}
public var _msisdnList: Array<String> {
get { // getter
return self.msisdnList
}
set(newValue) { //setter
self.msisdnList = newValue
}
}
}
......