Showing
1 changed file
with
86 additions
and
2 deletions
... | @@ -901,8 +901,15 @@ public class swiftApi { | ... | @@ -901,8 +901,15 @@ public class swiftApi { |
901 | private var title: String | 901 | private var title: String |
902 | private var subtitle: String | 902 | private var subtitle: String |
903 | private var description: String | 903 | private var description: String |
904 | - | 904 | + private var message: String |
905 | - 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?) { | 905 | + private var titleOffer: String |
906 | + private var imageOfferUrl: String | ||
907 | + private var duration: String | ||
908 | + private var giftType: String | ||
909 | + private var giftValue: String | ||
910 | + private var termsAndConditions: String | ||
911 | + | ||
912 | + 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?, message: String?, titleOffer: String?, imageOfferUrl: String?, duration: String?, giftType: String?, giftValue: String?, termsAndConditions: String?) { | ||
906 | self.sessionId = sessionId ?? "" | 913 | self.sessionId = sessionId ?? "" |
907 | self.eligibleAssets = eligibleAssets ?? [] | 914 | self.eligibleAssets = eligibleAssets ?? [] |
908 | self.id = id ?? "" | 915 | self.id = id ?? "" |
... | @@ -934,6 +941,13 @@ public class swiftApi { | ... | @@ -934,6 +941,13 @@ public class swiftApi { |
934 | self.title = title ?? "" | 941 | self.title = title ?? "" |
935 | self.subtitle = subtitle ?? "" | 942 | self.subtitle = subtitle ?? "" |
936 | self.description = description ?? "" | 943 | self.description = description ?? "" |
944 | + self.message = message ?? "" | ||
945 | + self.titleOffer = titleOffer ?? "" | ||
946 | + self.imageOfferUrl = imageOfferUrl ?? "" | ||
947 | + self.duration = duration ?? "" | ||
948 | + self.giftType = giftType ?? "" | ||
949 | + self.giftValue = giftValue ?? "" | ||
950 | + self.termsAndConditions = termsAndConditions ?? "" | ||
937 | } | 951 | } |
938 | 952 | ||
939 | public init() { | 953 | public init() { |
... | @@ -968,6 +982,13 @@ public class swiftApi { | ... | @@ -968,6 +982,13 @@ public class swiftApi { |
968 | self.title = "" | 982 | self.title = "" |
969 | self.subtitle = "" | 983 | self.subtitle = "" |
970 | self.description = "" | 984 | self.description = "" |
985 | + self.message = "" | ||
986 | + self.titleOffer = "" | ||
987 | + self.imageOfferUrl = "" | ||
988 | + self.duration = "" | ||
989 | + self.giftType = "" | ||
990 | + self.giftValue = "" | ||
991 | + self.termsAndConditions = "" | ||
971 | } | 992 | } |
972 | 993 | ||
973 | public var _sessionId: String { | 994 | public var _sessionId: String { |
... | @@ -1249,6 +1270,69 @@ public class swiftApi { | ... | @@ -1249,6 +1270,69 @@ public class swiftApi { |
1249 | } | 1270 | } |
1250 | } | 1271 | } |
1251 | 1272 | ||
1273 | + public var _message: String { | ||
1274 | + get { // getter | ||
1275 | + return self.message | ||
1276 | + } | ||
1277 | + set(newValue) { //setter | ||
1278 | + self.message = newValue | ||
1279 | + } | ||
1280 | + } | ||
1281 | + | ||
1282 | + public var _titleOffer: String { | ||
1283 | + get { // getter | ||
1284 | + return self.titleOffer | ||
1285 | + } | ||
1286 | + set(newValue) { //setter | ||
1287 | + self.titleOffer = newValue | ||
1288 | + } | ||
1289 | + } | ||
1290 | + | ||
1291 | + public var _imageOfferUrl: String { | ||
1292 | + get { // getter | ||
1293 | + return self.imageOfferUrl | ||
1294 | + } | ||
1295 | + set(newValue) { //setter | ||
1296 | + self.imageOfferUrl = newValue | ||
1297 | + } | ||
1298 | + } | ||
1299 | + | ||
1300 | + public var _duration: String { | ||
1301 | + get { // getter | ||
1302 | + return self.duration | ||
1303 | + } | ||
1304 | + set(newValue) { //setter | ||
1305 | + self.duration = newValue | ||
1306 | + } | ||
1307 | + } | ||
1308 | + | ||
1309 | + public var _giftType: String { | ||
1310 | + get { // getter | ||
1311 | + return self.giftType | ||
1312 | + } | ||
1313 | + set(newValue) { //setter | ||
1314 | + self.giftType = newValue | ||
1315 | + } | ||
1316 | + } | ||
1317 | + | ||
1318 | + public var _giftValue: String { | ||
1319 | + get { // getter | ||
1320 | + return self.giftValue | ||
1321 | + } | ||
1322 | + set(newValue) { //setter | ||
1323 | + self.giftValue = newValue | ||
1324 | + } | ||
1325 | + } | ||
1326 | + | ||
1327 | + public var _termsAndConditions: String { | ||
1328 | + get { // getter | ||
1329 | + return self.termsAndConditions | ||
1330 | + } | ||
1331 | + set(newValue) { //setter | ||
1332 | + self.termsAndConditions = newValue | ||
1333 | + } | ||
1334 | + } | ||
1335 | + | ||
1252 | } | 1336 | } |
1253 | 1337 | ||
1254 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | 1338 | // public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController { | ... | ... |
-
Please register or login to post a comment