Showing
1 changed file
with
5 additions
and
5 deletions
... | @@ -152,7 +152,7 @@ public class swiftApi { | ... | @@ -152,7 +152,7 @@ public class swiftApi { |
152 | } | 152 | } |
153 | 153 | ||
154 | 154 | ||
155 | - public class CouponSetItemModel { | 155 | + public class CouponSetItemModel: Codable { |
156 | public let uuid: String? | 156 | public let uuid: String? |
157 | public let admin_name: String? | 157 | public let admin_name: String? |
158 | public let name: String? | 158 | public let name: String? |
... | @@ -263,7 +263,7 @@ public class swiftApi { | ... | @@ -263,7 +263,7 @@ public class swiftApi { |
263 | } | 263 | } |
264 | 264 | ||
265 | 265 | ||
266 | - public class CouponItemModel { | 266 | + public class CouponItemModel: Codable { |
267 | public let couponset_uuid: String? | 267 | public let couponset_uuid: String? |
268 | public let name: String? | 268 | public let name: String? |
269 | public let image: String? | 269 | public let image: String? |
... | @@ -463,7 +463,7 @@ public class swiftApi { | ... | @@ -463,7 +463,7 @@ public class swiftApi { |
463 | return CouponsDataModel().getOldCoupons | 463 | return CouponsDataModel().getOldCoupons |
464 | } | 464 | } |
465 | 465 | ||
466 | - public class CampaignItemModel { | 466 | + public class CampaignItemModel: Codable { |
467 | public let index_url: String? | 467 | public let index_url: String? |
468 | public var logo_url: String? | 468 | public var logo_url: String? |
469 | public let offer_category: String? | 469 | public let offer_category: String? |
... | @@ -623,7 +623,7 @@ public class swiftApi { | ... | @@ -623,7 +623,7 @@ public class swiftApi { |
623 | } | 623 | } |
624 | 624 | ||
625 | 625 | ||
626 | - public class LoyaltyContextualOfferModel { | 626 | + public class LoyaltyContextualOfferModel: Codable { |
627 | private var sessionId: String | 627 | private var sessionId: String |
628 | private var eligibleAssets: Array<String> | 628 | private var eligibleAssets: Array<String> |
629 | private var id: String | 629 | private var id: String |
... | @@ -2415,7 +2415,7 @@ public class swiftApi { | ... | @@ -2415,7 +2415,7 @@ public class swiftApi { |
2415 | } | 2415 | } |
2416 | 2416 | ||
2417 | 2417 | ||
2418 | - public class LoyaltyGiftsForYouPackage { | 2418 | + public class LoyaltyGiftsForYouPackage: Codable { |
2419 | private var title: String | 2419 | private var title: String |
2420 | private var imageUrl: String | 2420 | private var imageUrl: String |
2421 | private var loyaltyPackageId: String | 2421 | private var loyaltyPackageId: String | ... | ... |
-
Please register or login to post a comment