Manos Chorianopoulos

fix CampaignItemModel

......@@ -1105,7 +1105,6 @@ public class swiftApi {
private var category_title: String?
private var banner_img: String?
private var banner_title: String?
private var unifiedCampaign: UnifiedCampaignModel?
private var coupon_availability: Int?
private var category_id: String?
......@@ -1134,7 +1133,6 @@ public class swiftApi {
self.category_title = ""
self.banner_img = ""
self.banner_title = ""
self.unifiedCampaign = swiftApi.UnifiedCampaignModel()
self.coupon_availability = nil
self.category_id = ""
}
......@@ -1152,7 +1150,6 @@ public class swiftApi {
self.campaign_type = dictionary["campaign_type"] as? String? ?? ""
self.sorting = dictionary["sorting"] as? Int? ?? 0
self.ccms = nil
self.unifiedCampaign = swiftApi.UnifiedCampaignModel()
self.coupon_availability = nil
// let extra_fields = dictionary["extra_fields"] as? [String: Any]? ?? ["":""]
......@@ -1398,15 +1395,6 @@ public class swiftApi {
}
}
public var _unifiedCampaign: UnifiedCampaignModel? {
get { // getter
return self.unifiedCampaign
}
set(newValue) { //setter
self.unifiedCampaign = newValue
}
}
public var _coupon_availability: Int? {
get { // getter
return self.coupon_availability
......