Manos Chorianopoulos

Couponsets Codable error fix

...@@ -35,7 +35,7 @@ public class ShopAvailabilityItemModel: Codable { ...@@ -35,7 +35,7 @@ public class ShopAvailabilityItemModel: Codable {
35 } 35 }
36 } 36 }
37 37
38 -public class CouponSetItemModel: Codable { 38 +public class CouponSetItemModel {
39 // Existing fields 39 // Existing fields
40 private var uuid: String? 40 private var uuid: String?
41 private var admin_name: String? 41 private var admin_name: String?
...@@ -318,7 +318,7 @@ public class RedeemedMerchantDetailsModel: Codable { ...@@ -318,7 +318,7 @@ public class RedeemedMerchantDetailsModel: Codable {
318 } 318 }
319 } 319 }
320 320
321 -public class CouponItemModel: Codable { 321 +public class CouponItemModel {
322 public let couponset_uuid: String? 322 public let couponset_uuid: String?
323 public let name: String? 323 public let name: String?
324 public let image: String? 324 public let image: String?
...@@ -453,7 +453,7 @@ public class CouponItemModel: Codable { ...@@ -453,7 +453,7 @@ public class CouponItemModel: Codable {
453 } 453 }
454 } 454 }
455 455
456 -public class RedeemedSMHistoryModel: Codable { 456 +public class RedeemedSMHistoryModel {
457 private var totalRedeemedValue: Float 457 private var totalRedeemedValue: Float
458 private var redeemedCouponList: Array<CouponItemModel> 458 private var redeemedCouponList: Array<CouponItemModel>
459 459
......