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-28 19:35:12 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7619d89c46ae8cc500107b67dd2922b097ae4d03
7619d89c
1 parent
965b4141
add getDealsCouponsSum, setDealsCouponsSum funcs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
7619d89
...
...
@@ -17,6 +17,7 @@ public struct GlobalVariables {
static
var
loyaltyBadge
:
swiftApi
.
LoyaltyBadgeModel
=
swiftApi
.
LoyaltyBadgeModel
()
static
var
consumer
:
swiftApi
.
ProfileModel
?
static
var
ccmsCampaigns
:
Array
<
swiftApi
.
LoyaltyContextualOfferModel
>
=
[]
static
var
dealsSum
:
Float
=
0.0
}
public
class
swiftApi
{
...
...
@@ -1949,4 +1950,14 @@ public class swiftApi {
return
GlobalVariables
.
consumer
}
public
func
setDealsCouponsSum
(
_
sum
:
Float
)
{
GlobalVariables
.
dealsSum
=
sum
}
public
func
getDealsCouponsSum
()
->
Float
{
return
GlobalVariables
.
dealsSum
}
}
...
...
Please
register
or
login
to post a comment