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 17:16:40 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
db9aa66925638c0b20c55c0dd25722ec1f7478c1
db9aa669
1 parent
2ca319ad
add setSeasonalList, getSeasonalList funcs
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
db9aa66
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
db9aa66
...
...
@@ -18,6 +18,7 @@ public struct GlobalVariables {
static
var
consumer
:
swiftApi
.
ProfileModel
?
static
var
ccmsCampaigns
:
Array
<
swiftApi
.
LoyaltyContextualOfferModel
>
=
[]
static
var
dealsSum
:
Float
=
0.0
static
var
seasonalList
:
Array
<
swiftApi
.
LoyaltyGiftsForYouPackage
>
=
[]
}
public
class
swiftApi
{
...
...
@@ -2114,4 +2115,15 @@ public class swiftApi {
}
}
public
func
setSeasonalList
(
_
seasonalCoupons
:
Array
<
LoyaltyGiftsForYouPackage
>
)
{
GlobalVariables
.
seasonalList
=
seasonalCoupons
}
public
func
getSeasonalList
()
->
Array
<
LoyaltyGiftsForYouPackage
>
{
return
GlobalVariables
.
seasonalList
}
}
...
...
Please
register
or
login
to post a comment