Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -1245,7 +1245,6 @@ public class swiftApi { | ... | @@ -1245,7 +1245,6 @@ public class swiftApi { |
| 1245 | self.sorting = dictionary["sorting"] as? Int? ?? 0 | 1245 | self.sorting = dictionary["sorting"] as? Int? ?? 0 |
| 1246 | self.ccms = nil | 1246 | self.ccms = nil |
| 1247 | self.coupon_availability = nil | 1247 | self.coupon_availability = nil |
| 1248 | - self.coupon_img = dictionary["coupon_img"] as? String? ?? "" | ||
| 1249 | 1248 | ||
| 1250 | let startDateString = dictionary["start_date"] as? String? ?? "" | 1249 | let startDateString = dictionary["start_date"] as? String? ?? "" |
| 1251 | // Example expirationString: "start_date" = "2022-06-29 00:00:00"; | 1250 | // Example expirationString: "start_date" = "2022-06-29 00:00:00"; |
| ... | @@ -1286,6 +1285,7 @@ public class swiftApi { | ... | @@ -1286,6 +1285,7 @@ public class swiftApi { |
| 1286 | self.category_id = extra_fields["category_id"] as? String ?? "" | 1285 | self.category_id = extra_fields["category_id"] as? String ?? "" |
| 1287 | self.filter = extra_fields["filter"] as? String ?? "" | 1286 | self.filter = extra_fields["filter"] as? String ?? "" |
| 1288 | self.show_expiration = extra_fields["show_expiration"] as? Bool? ?? false | 1287 | self.show_expiration = extra_fields["show_expiration"] as? Bool? ?? false |
| 1288 | + self.coupon_img = extra_fields["coupon_img"] as? String? ?? "" | ||
| 1289 | } else { | 1289 | } else { |
| 1290 | self.subcategory = "" | 1290 | self.subcategory = "" |
| 1291 | self.loyaltyCampaignId = "" | 1291 | self.loyaltyCampaignId = "" |
| ... | @@ -1299,6 +1299,7 @@ public class swiftApi { | ... | @@ -1299,6 +1299,7 @@ public class swiftApi { |
| 1299 | self.banner_title = "" | 1299 | self.banner_title = "" |
| 1300 | self.filter = "" | 1300 | self.filter = "" |
| 1301 | self.show_expiration = false | 1301 | self.show_expiration = false |
| 1302 | + self.coupon_img = "" | ||
| 1302 | } | 1303 | } |
| 1303 | 1304 | ||
| 1304 | // let extra_fields = dictionary["extra_fields"] as AnyObject | 1305 | // let extra_fields = dictionary["extra_fields"] as AnyObject | ... | ... |
-
Please register or login to post a comment