Manos Chorianopoulos

update LoyaltyContextualOfferModel

......@@ -748,8 +748,12 @@ public class swiftApi {
private var wave: String
private var validity: String
private var offerAudienceLevel: String
private var imageUrl: String
private var title: String
private var subtitle: String
private var description: String
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?) {
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?) {
self.sessionId = sessionId ?? ""
self.eligibleAssets = eligibleAssets ?? []
self.id = id ?? ""
......@@ -777,6 +781,10 @@ public class swiftApi {
self.wave = wave ?? ""
self.validity = validity ?? ""
self.offerAudienceLevel = offerAudienceLevel ?? ""
self.imageUrl = imageUrl ?? ""
self.title = title ?? ""
self.subtitle = subtitle ?? ""
self.description = description ?? ""
}
public init() {
......@@ -807,6 +815,10 @@ public class swiftApi {
self.wave = ""
self.validity = ""
self.offerAudienceLevel = ""
self.imageUrl = ""
self.title = ""
self.subtitle = ""
self.description = ""
}
public var _sessionId: String {
......@@ -1052,6 +1064,42 @@ public class swiftApi {
}
}
public var _imageUrl: String {
get { // getter
return self.imageUrl
}
set(newValue) { //setter
self.imageUrl = newValue
}
}
public var _title: String {
get { // getter
return self.title
}
set(newValue) { //setter
self.title = newValue
}
}
public var _subtitle: String {
get { // getter
return self.subtitle
}
set(newValue) { //setter
self.subtitle = newValue
}
}
public var _description: String {
get { // getter
return self.description
}
set(newValue) { //setter
self.description = newValue
}
}
}
// public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController {
......