Manos Chorianopoulos

fix CampaignItemModel

...@@ -1105,7 +1105,6 @@ public class swiftApi { ...@@ -1105,7 +1105,6 @@ public class swiftApi {
1105 private var category_title: String? 1105 private var category_title: String?
1106 private var banner_img: String? 1106 private var banner_img: String?
1107 private var banner_title: String? 1107 private var banner_title: String?
1108 - private var unifiedCampaign: UnifiedCampaignModel?
1109 private var coupon_availability: Int? 1108 private var coupon_availability: Int?
1110 private var category_id: String? 1109 private var category_id: String?
1111 1110
...@@ -1134,7 +1133,6 @@ public class swiftApi { ...@@ -1134,7 +1133,6 @@ public class swiftApi {
1134 self.category_title = "" 1133 self.category_title = ""
1135 self.banner_img = "" 1134 self.banner_img = ""
1136 self.banner_title = "" 1135 self.banner_title = ""
1137 - self.unifiedCampaign = swiftApi.UnifiedCampaignModel()
1138 self.coupon_availability = nil 1136 self.coupon_availability = nil
1139 self.category_id = "" 1137 self.category_id = ""
1140 } 1138 }
...@@ -1152,7 +1150,6 @@ public class swiftApi { ...@@ -1152,7 +1150,6 @@ public class swiftApi {
1152 self.campaign_type = dictionary["campaign_type"] as? String? ?? "" 1150 self.campaign_type = dictionary["campaign_type"] as? String? ?? ""
1153 self.sorting = dictionary["sorting"] as? Int? ?? 0 1151 self.sorting = dictionary["sorting"] as? Int? ?? 0
1154 self.ccms = nil 1152 self.ccms = nil
1155 - self.unifiedCampaign = swiftApi.UnifiedCampaignModel()
1156 self.coupon_availability = nil 1153 self.coupon_availability = nil
1157 1154
1158 // let extra_fields = dictionary["extra_fields"] as? [String: Any]? ?? ["":""] 1155 // let extra_fields = dictionary["extra_fields"] as? [String: Any]? ?? ["":""]
...@@ -1398,15 +1395,6 @@ public class swiftApi { ...@@ -1398,15 +1395,6 @@ public class swiftApi {
1398 } 1395 }
1399 } 1396 }
1400 1397
1401 - public var _unifiedCampaign: UnifiedCampaignModel? {
1402 - get { // getter
1403 - return self.unifiedCampaign
1404 - }
1405 - set(newValue) { //setter
1406 - self.unifiedCampaign = newValue
1407 - }
1408 - }
1409 -
1410 public var _coupon_availability: Int? { 1398 public var _coupon_availability: Int? {
1411 get { // getter 1399 get { // getter
1412 return self.coupon_availability 1400 return self.coupon_availability
......