Panagiotis Triantafyllou

new coupons request for sm inside getUnifiedCouponsDeals and new static variable for this list

This diff is collapsed. Click to expand it.
......@@ -105,6 +105,7 @@ public class WarplyManagerHelper {
private static HashMap<String, CampaignList> mUniqueCampaignList = new HashMap<String, CampaignList>();
private static CouponList mCouponList = new CouponList();
private static CouponList mCouponRedeemedList = new CouponList();
private static CouponList mSmCouponsList = new CouponList();
private static CouponList mCouponListExpired = new CouponList();
private static CouponsetsList mCouponsetsList = new CouponsetsList();
private static CouponsetsList mCouponsetsDealsList = new CouponsetsList();
......@@ -1368,10 +1369,19 @@ public class WarplyManagerHelper {
mCouponRedeemedList.addAll(couponRedeemedList);
}
public static void setSmCouponsList(CouponList couponRedeemedList) {
mSmCouponsList.clear();
mSmCouponsList.addAll(couponRedeemedList);
}
public static CouponList getCouponRedeemedList() {
return mCouponRedeemedList;
}
public static CouponList getSmCouponsList() {
return mSmCouponsList;
}
public static LoyaltyBadgeModel getLoyaltyBadge() {
return mLoyaltyBadge;
}
......