Manos Chorianopoulos

add setUniqueCampaignList, getCampaignList funcs

...@@ -1617,5 +1617,15 @@ public class swiftApi { ...@@ -1617,5 +1617,15 @@ public class swiftApi {
1617 redeemCouponSetCallback(nil) 1617 redeemCouponSetCallback(nil)
1618 } 1618 }
1619 } 1619 }
1620 +
1621 +
1622 + public func setUniqueCampaignList(_ campaigns: Array<CampaignItemModel>) -> Void {
1623 + GlobalVariables.campaigns = campaigns
1624 + }
1625 +
1626 +
1627 + public func getCampaignList() -> Array<CampaignItemModel> {
1628 + return GlobalVariables.campaigns
1629 + }
1620 1630
1621 } 1631 }
......