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-10 14:38:10 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2970a6d8ce3e98a94e70c6f13a734df8478324a7
2970a6d8
1 parent
330aee90
update LoyaltyContextualOfferModel
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
170 additions
and
1 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
2970a6d
...
...
@@ -463,13 +463,41 @@ public class swiftApi {
private
var
id
:
String
private
var
businessAdditionalId
:
String
private
var
treatmentCode
:
String
private
var
offerName
:
String
private
var
productType
:
String
private
var
provDuration
:
String
private
var
noOfRecurrance
:
String
private
var
price
:
String
private
var
discount
:
String
private
var
voiceCategory
:
String
private
var
dataCategory
:
String
private
var
minsValue
:
String
private
var
dataValue
:
String
private
var
provStepValueMins
:
String
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
?)
{
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
?
)
{
self
.
sessionId
=
sessionId
??
""
self
.
eligibleAssets
=
eligibleAssets
??
[]
self
.
id
=
id
??
""
self
.
businessAdditionalId
=
businessAdditionalId
??
""
self
.
treatmentCode
=
treatmentCode
??
""
self
.
offerName
=
offerName
??
""
self
.
productType
=
productType
??
""
self
.
provDuration
=
provDuration
??
""
self
.
noOfRecurrance
=
noOfRecurrance
??
""
self
.
price
=
price
??
""
self
.
discount
=
discount
??
""
self
.
voiceCategory
=
voiceCategory
??
""
self
.
dataCategory
=
dataCategory
??
""
self
.
minsValue
=
minsValue
??
""
self
.
dataValue
=
dataValue
??
""
self
.
provStepValueMins
=
provStepValueMins
??
""
self
.
postpayProduct
=
postpayProduct
??
""
self
.
notificationMessage
=
notificationMessage
??
""
self
.
loyaltyCampaignId
=
loyaltyCampaignId
??
""
}
public
init
()
{
...
...
@@ -478,6 +506,20 @@ public class swiftApi {
self
.
id
=
""
self
.
businessAdditionalId
=
""
self
.
treatmentCode
=
""
self
.
offerName
=
""
self
.
productType
=
""
self
.
provDuration
=
""
self
.
noOfRecurrance
=
""
self
.
price
=
""
self
.
discount
=
""
self
.
voiceCategory
=
""
self
.
dataCategory
=
""
self
.
minsValue
=
""
self
.
dataValue
=
""
self
.
provStepValueMins
=
""
self
.
postpayProduct
=
""
self
.
notificationMessage
=
""
self
.
loyaltyCampaignId
=
""
}
public
var
_sessionId
:
String
{
...
...
@@ -524,6 +566,133 @@ public class swiftApi {
self
.
treatmentCode
=
newValue
}
}
public
var
_offerName
:
String
{
get
{
// getter
return
self
.
offerName
}
set
(
newValue
)
{
//setter
self
.
offerName
=
newValue
}
}
public
var
_productType
:
String
{
get
{
// getter
return
self
.
productType
}
set
(
newValue
)
{
//setter
self
.
productType
=
newValue
}
}
public
var
_provDuration
:
String
{
get
{
// getter
return
self
.
provDuration
}
set
(
newValue
)
{
//setter
self
.
provDuration
=
newValue
}
}
public
var
_noOfRecurrance
:
String
{
get
{
// getter
return
self
.
noOfRecurrance
}
set
(
newValue
)
{
//setter
self
.
noOfRecurrance
=
newValue
}
}
public
var
_price
:
String
{
get
{
// getter
return
self
.
price
}
set
(
newValue
)
{
//setter
self
.
price
=
newValue
}
}
public
var
_discount
:
String
{
get
{
// getter
return
self
.
discount
}
set
(
newValue
)
{
//setter
self
.
discount
=
newValue
}
}
public
var
_voiceCategory
:
String
{
get
{
// getter
return
self
.
voiceCategory
}
set
(
newValue
)
{
//setter
self
.
voiceCategory
=
newValue
}
}
public
var
_dataCategory
:
String
{
get
{
// getter
return
self
.
dataCategory
}
set
(
newValue
)
{
//setter
self
.
dataCategory
=
newValue
}
}
public
var
_minsValue
:
String
{
get
{
// getter
return
self
.
minsValue
}
set
(
newValue
)
{
//setter
self
.
minsValue
=
newValue
}
}
public
var
_dataValue
:
String
{
get
{
// getter
return
self
.
dataValue
}
set
(
newValue
)
{
//setter
self
.
dataValue
=
newValue
}
}
public
var
_provStepValueMins
:
String
{
get
{
// getter
return
self
.
provStepValueMins
}
set
(
newValue
)
{
//setter
self
.
provStepValueMins
=
newValue
}
}
public
var
_postpayProduct
:
String
{
get
{
// getter
return
self
.
postpayProduct
}
set
(
newValue
)
{
//setter
self
.
postpayProduct
=
newValue
}
}
public
var
_notificationMessage
:
String
{
get
{
// getter
return
self
.
notificationMessage
}
set
(
newValue
)
{
//setter
self
.
notificationMessage
=
newValue
}
}
public
var
_loyaltyCampaignId
:
String
{
get
{
// getter
return
self
.
loyaltyCampaignId
}
set
(
newValue
)
{
//setter
self
.
loyaltyCampaignId
=
newValue
}
}
}
// public func openCoupon(parent: UIView, coupon: CouponSetItemModel) -> UIViewController {
...
...
Please
register
or
login
to post a comment