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-09-01 17:18:15 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
14c8e42d9f0784bfce18dbff8ce85fc675908c4b
14c8e42d
1 parent
e4e46980
update CampaignItemModel
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
14c8e42
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
14c8e42
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
14c8e42
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
14c8e42
...
...
@@ -648,6 +648,7 @@ public class swiftApi {
public
var
couponset
:
String
?
public
var
type
:
String
?
public
var
sorting
:
Int
?
private
var
ccms
:
LoyaltyContextualOfferModel
?
public
init
()
{
self
.
index_url
=
""
...
...
@@ -669,6 +670,7 @@ public class swiftApi {
self
.
couponset
=
""
self
.
type
=
""
self
.
sorting
=
0
self
.
ccms
=
nil
}
public
init
(
dictionary
:
[
String
:
Any
])
{
...
...
@@ -683,6 +685,7 @@ public class swiftApi {
self
.
loyaltyPackageId
=
""
self
.
campaign_type
=
dictionary
[
"campaign_type"
]
as?
String
?
??
""
self
.
sorting
=
dictionary
[
"sorting"
]
as?
Int
?
??
0
self
.
ccms
=
nil
// let extra_fields = dictionary["extra_fields"] as? [String: Any]? ?? ["":""]
if
let
extra_fields
=
dictionary
[
"extra_fields"
]
as?
[
String
:
Any
]
{
...
...
@@ -854,6 +857,15 @@ public class swiftApi {
self
.
sorting
=
newValue
}
}
public
var
_ccms
:
LoyaltyContextualOfferModel
?
{
get
{
// getter
return
self
.
ccms
}
set
(
newValue
)
{
//setter
self
.
ccms
=
newValue
}
}
}
public
class
CampaignDataModel
{
...
...
Please
register
or
login
to post a comment