Manos Chorianopoulos

update LoyaltyContextualOfferModel

......@@ -901,8 +901,15 @@ public class swiftApi {
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?, imageUrl: String?, title: String?, subtitle: String?, description: String?) {
private var message: String
private var titleOffer: String
private var imageOfferUrl: String
private var duration: String
private var giftType: String
private var giftValue: String
private var termsAndConditions: 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?, message: String?, titleOffer: String?, imageOfferUrl: String?, duration: String?, giftType: String?, giftValue: String?, termsAndConditions: String?) {
self.sessionId = sessionId ?? ""
self.eligibleAssets = eligibleAssets ?? []
self.id = id ?? ""
......@@ -934,6 +941,13 @@ public class swiftApi {
self.title = title ?? ""
self.subtitle = subtitle ?? ""
self.description = description ?? ""
self.message = message ?? ""
self.titleOffer = titleOffer ?? ""
self.imageOfferUrl = imageOfferUrl ?? ""
self.duration = duration ?? ""
self.giftType = giftType ?? ""
self.giftValue = giftValue ?? ""
self.termsAndConditions = termsAndConditions ?? ""
}
public init() {
......@@ -968,6 +982,13 @@ public class swiftApi {
self.title = ""
self.subtitle = ""
self.description = ""
self.message = ""
self.titleOffer = ""
self.imageOfferUrl = ""
self.duration = ""
self.giftType = ""
self.giftValue = ""
self.termsAndConditions = ""
}
public var _sessionId: String {
......@@ -1249,6 +1270,69 @@ public class swiftApi {
}
}
public var _message: String {
get { // getter
return self.message
}
set(newValue) { //setter
self.message = newValue
}
}
public var _titleOffer: String {
get { // getter
return self.titleOffer
}
set(newValue) { //setter
self.titleOffer = newValue
}
}
public var _imageOfferUrl: String {
get { // getter
return self.imageOfferUrl
}
set(newValue) { //setter
self.imageOfferUrl = newValue
}
}
public var _duration: String {
get { // getter
return self.duration
}
set(newValue) { //setter
self.duration = newValue
}
}
public var _giftType: String {
get { // getter
return self.giftType
}
set(newValue) { //setter
self.giftType = newValue
}
}
public var _giftValue: String {
get { // getter
return self.giftValue
}
set(newValue) { //setter
self.giftValue = newValue
}
}
public var _termsAndConditions: String {
get { // getter
return self.termsAndConditions
}
set(newValue) { //setter
self.termsAndConditions = newValue
}
}
}
// public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController {
......