Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-06-29 11:43:39 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
811f9d54b4c1483cd327bb89d51e2900625ad921
811f9d54
1 parent
5bafcdd5
add LoyaltyContextualOfferModel extra keys
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
110 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
811f9d5
...
...
@@ -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 {
...
...
Please
register
or
login
to post a comment