Manos Chorianopoulos

add LoyaltyContextualOfferModel extra keys

......@@ -520,8 +520,17 @@ public class swiftApi {
private var postpayProduct: String
private var notificationMessage: String
private var loyaltyCampaignId: 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?) {
private var businessService: String
private var uaciOfferTrackingCode: String
private var offerCode1: String
private var score: String
private var zone: String
private var wave: String
private var validity: String
private var treatment_code: String
private var 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?, treatment_code: String?, offerAudienceLevel: String?) {
self.sessionId = sessionId ?? ""
self.eligibleAssets = eligibleAssets ?? []
self.id = id ?? ""
......@@ -541,6 +550,15 @@ public class swiftApi {
self.postpayProduct = postpayProduct ?? ""
self.notificationMessage = notificationMessage ?? ""
self.loyaltyCampaignId = loyaltyCampaignId ?? ""
self.businessService = businessService ?? ""
self.uaciOfferTrackingCode = uaciOfferTrackingCode ?? ""
self.offerCode1 = offerCode1 ?? ""
self.score = score ?? ""
self.zone = zone ?? ""
self.wave = wave ?? ""
self.validity = validity ?? ""
self.treatment_code = treatment_code ?? ""
self.offerAudienceLevel = offerAudienceLevel ?? ""
}
public init() {
......@@ -563,6 +581,15 @@ public class swiftApi {
self.postpayProduct = ""
self.notificationMessage = ""
self.loyaltyCampaignId = ""
self.businessService = ""
self.uaciOfferTrackingCode = ""
self.offerCode1 = ""
self.score = ""
self.zone = ""
self.wave = ""
self.validity = ""
self.treatment_code = ""
self.offerAudienceLevel = ""
}
public var _sessionId: String {
......@@ -736,6 +763,87 @@ public class swiftApi {
}
}
public var _businessService: String {
get { // getter
return self.businessService
}
set(newValue) { //setter
self.businessService = newValue
}
}
public var _uaciOfferTrackingCode: String {
get { // getter
return self.uaciOfferTrackingCode
}
set(newValue) { //setter
self.uaciOfferTrackingCode = newValue
}
}
public var _offerCode1: String {
get { // getter
return self.offerCode1
}
set(newValue) { //setter
self.offerCode1 = newValue
}
}
public var _score: String {
get { // getter
return self.score
}
set(newValue) { //setter
self.score = newValue
}
}
public var _zone: String {
get { // getter
return self.zone
}
set(newValue) { //setter
self.zone = newValue
}
}
public var _wave: String {
get { // getter
return self.wave
}
set(newValue) { //setter
self.wave = newValue
}
}
public var _validity: String {
get { // getter
return self.validity
}
set(newValue) { //setter
self.validity = newValue
}
}
public var _treatment_code: String {
get { // getter
return self.treatment_code
}
set(newValue) { //setter
self.treatment_code = newValue
}
}
public var _offerAudienceLevel: String {
get { // getter
return self.offerAudienceLevel
}
set(newValue) { //setter
self.offerAudienceLevel = newValue
}
}
}
// public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController {
......