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-07-21 17:00:46 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ba0c131b7e37bcc137a6d39d9a2aae1bb88cb44
3ba0c131
1 parent
5804e915
update LoyaltyContextualOfferModel
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
3ba0c13
...
...
@@ -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 {
...
...
Please
register
or
login
to post a comment