Showing
1 changed file
with
49 additions
and
1 deletions
... | @@ -748,8 +748,12 @@ public class swiftApi { | ... | @@ -748,8 +748,12 @@ public class swiftApi { |
748 | private var wave: String | 748 | private var wave: String |
749 | private var validity: String | 749 | private var validity: String |
750 | private var offerAudienceLevel: String | 750 | private var offerAudienceLevel: String |
751 | + private var imageUrl: String | ||
752 | + private var title: String | ||
753 | + private var subtitle: String | ||
754 | + private var description: String | ||
751 | 755 | ||
752 | - public init(sessionId: String?, eligibleAssets: Array<String>?, id: String?, businessAdditionalId: String?, treatmentCode: String?, offerName: String?, productType: String?, provDuration: String?, noOfRecurrance: String?, price: String?, discount: String?, voiceCategory: String?, dataCategory: String?, minsValue: String?, dataValue: String?, provStepValueMins: String?, postpayProduct: String?, notificationMessage: String?, loyaltyCampaignId: String?, businessService: String?, uaciOfferTrackingCode: String?, offerCode1: String?, score: String?, zone: String?, wave: String?, validity: String?, offerAudienceLevel: String?) { | 756 | + public init(sessionId: String?, eligibleAssets: Array<String>?, id: String?, businessAdditionalId: String?, treatmentCode: String?, offerName: String?, productType: String?, provDuration: String?, noOfRecurrance: String?, price: String?, discount: String?, voiceCategory: String?, dataCategory: String?, minsValue: String?, dataValue: String?, provStepValueMins: String?, postpayProduct: String?, notificationMessage: String?, loyaltyCampaignId: String?, businessService: String?, uaciOfferTrackingCode: String?, offerCode1: String?, score: String?, zone: String?, wave: String?, validity: String?, offerAudienceLevel: String?, imageUrl: String?, title: String?, subtitle: String?, description: String?) { |
753 | self.sessionId = sessionId ?? "" | 757 | self.sessionId = sessionId ?? "" |
754 | self.eligibleAssets = eligibleAssets ?? [] | 758 | self.eligibleAssets = eligibleAssets ?? [] |
755 | self.id = id ?? "" | 759 | self.id = id ?? "" |
... | @@ -777,6 +781,10 @@ public class swiftApi { | ... | @@ -777,6 +781,10 @@ public class swiftApi { |
777 | self.wave = wave ?? "" | 781 | self.wave = wave ?? "" |
778 | self.validity = validity ?? "" | 782 | self.validity = validity ?? "" |
779 | self.offerAudienceLevel = offerAudienceLevel ?? "" | 783 | self.offerAudienceLevel = offerAudienceLevel ?? "" |
784 | + self.imageUrl = imageUrl ?? "" | ||
785 | + self.title = title ?? "" | ||
786 | + self.subtitle = subtitle ?? "" | ||
787 | + self.description = description ?? "" | ||
780 | } | 788 | } |
781 | 789 | ||
782 | public init() { | 790 | public init() { |
... | @@ -807,6 +815,10 @@ public class swiftApi { | ... | @@ -807,6 +815,10 @@ public class swiftApi { |
807 | self.wave = "" | 815 | self.wave = "" |
808 | self.validity = "" | 816 | self.validity = "" |
809 | self.offerAudienceLevel = "" | 817 | self.offerAudienceLevel = "" |
818 | + self.imageUrl = "" | ||
819 | + self.title = "" | ||
820 | + self.subtitle = "" | ||
821 | + self.description = "" | ||
810 | } | 822 | } |
811 | 823 | ||
812 | public var _sessionId: String { | 824 | public var _sessionId: String { |
... | @@ -1052,6 +1064,42 @@ public class swiftApi { | ... | @@ -1052,6 +1064,42 @@ public class swiftApi { |
1052 | } | 1064 | } |
1053 | } | 1065 | } |
1054 | 1066 | ||
1067 | + public var _imageUrl: String { | ||
1068 | + get { // getter | ||
1069 | + return self.imageUrl | ||
1070 | + } | ||
1071 | + set(newValue) { //setter | ||
1072 | + self.imageUrl = newValue | ||
1073 | + } | ||
1074 | + } | ||
1075 | + | ||
1076 | + public var _title: String { | ||
1077 | + get { // getter | ||
1078 | + return self.title | ||
1079 | + } | ||
1080 | + set(newValue) { //setter | ||
1081 | + self.title = newValue | ||
1082 | + } | ||
1083 | + } | ||
1084 | + | ||
1085 | + public var _subtitle: String { | ||
1086 | + get { // getter | ||
1087 | + return self.subtitle | ||
1088 | + } | ||
1089 | + set(newValue) { //setter | ||
1090 | + self.subtitle = newValue | ||
1091 | + } | ||
1092 | + } | ||
1093 | + | ||
1094 | + public var _description: String { | ||
1095 | + get { // getter | ||
1096 | + return self.description | ||
1097 | + } | ||
1098 | + set(newValue) { //setter | ||
1099 | + self.description = newValue | ||
1100 | + } | ||
1101 | + } | ||
1102 | + | ||
1055 | } | 1103 | } |
1056 | 1104 | ||
1057 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | 1105 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | ... | ... |
-
Please register or login to post a comment