Manos Chorianopoulos
......@@ -25,10 +25,22 @@ public class swiftApi {
}
public func setCCMSLoyaltyCampaigns(campaigns: Array<Dictionary<String, String>>) {
public func setCCMSLoyaltyCampaigns(campaigns: Array<LoyaltyContextualOfferModel>) {
}
public class LoyaltyContextualOfferModel {
var sessionId: String
var eligibleAssets: Array<String>
var id: String
init(sessionId: String, eligibleAssets: Array<String>, id: String) {
self.sessionId = sessionId
self.eligibleAssets = eligibleAssets
self.id = id
}
}
public class CouponSetItemModel {
let uuid: String?
let admin_name: String?
......