Manos Chorianopoulos

add getDealsCouponsSum, setDealsCouponsSum funcs

......@@ -17,6 +17,7 @@ public struct GlobalVariables {
static var loyaltyBadge: swiftApi.LoyaltyBadgeModel = swiftApi.LoyaltyBadgeModel()
static var consumer: swiftApi.ProfileModel?
static var ccmsCampaigns: Array<swiftApi.LoyaltyContextualOfferModel> = []
static var dealsSum: Float = 0.0
}
public class swiftApi {
......@@ -1949,4 +1950,14 @@ public class swiftApi {
return GlobalVariables.consumer
}
public func setDealsCouponsSum(_ sum: Float) {
GlobalVariables.dealsSum = sum
}
public func getDealsCouponsSum() -> Float {
return GlobalVariables.dealsSum
}
}
......