Vasilis

addition of LoyaltyContextualOfferModel in swift api

...@@ -25,10 +25,22 @@ public class swiftApi { ...@@ -25,10 +25,22 @@ public class swiftApi {
25 25
26 } 26 }
27 27
28 - public func setCCMSLoyaltyCampaigns(campaigns: Array<Dictionary<String, String>>) { 28 + public func setCCMSLoyaltyCampaigns(campaigns: Array<LoyaltyContextualOfferModel>) {
29 29
30 } 30 }
31 31
32 + public class LoyaltyContextualOfferModel {
33 + var sessionId: String
34 + var eligibleAssets: Array<String>
35 + var id: String
36 +
37 + init(sessionId: String, eligibleAssets: Array<String>, id: String) {
38 + self.sessionId = sessionId
39 + self.eligibleAssets = eligibleAssets
40 + self.id = id
41 + }
42 + }
43 +
32 public class CouponSetItemModel { 44 public class CouponSetItemModel {
33 let uuid: String? 45 let uuid: String?
34 let admin_name: String? 46 let admin_name: String?
......