Merge branch 'master' of https://git.warp.ly/open-source/warply_sdk_framework
Showing
2 changed files
with
13 additions
and
1 deletions
No preview for this file type
... | @@ -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? | ... | ... |
-
Please register or login to post a comment