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
2024-04-08 14:11:15 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b23e01ef6f1055a904e38d85fce78139d9097858
b23e01ef
1 parent
6e0df00c
fix show_expiration at CampaignItemModel
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
b23e01e
...
...
@@ -1194,7 +1194,7 @@ public class swiftApi {
private
var
start_date
:
String
?
private
var
end_date
:
String
?
private
var
filter
:
String
?
// supermarket - free - contest etc
private
var
show_expiration
:
Bool
?
private
var
show_expiration
:
String
?
private
var
coupon_img
:
String
?
public
init
()
{
...
...
@@ -1227,7 +1227,7 @@ public class swiftApi {
self
.
start_date
=
""
self
.
end_date
=
""
self
.
filter
=
""
self
.
show_expiration
=
false
self
.
show_expiration
=
"false"
self
.
coupon_img
=
""
}
...
...
@@ -1284,7 +1284,7 @@ public class swiftApi {
self
.
banner_title
=
extra_fields
[
"Banner_title"
]
as?
String
??
""
self
.
category_id
=
extra_fields
[
"category_id"
]
as?
String
??
""
self
.
filter
=
extra_fields
[
"filter"
]
as?
String
??
""
self
.
show_expiration
=
extra_fields
[
"show_expiration"
]
as?
Bool
?
??
false
self
.
show_expiration
=
extra_fields
[
"show_expiration"
]
as?
String
?
??
"false"
self
.
coupon_img
=
extra_fields
[
"coupon_img"
]
as?
String
?
??
""
}
else
{
self
.
subcategory
=
""
...
...
@@ -1298,7 +1298,7 @@ public class swiftApi {
self
.
banner_img
=
""
self
.
banner_title
=
""
self
.
filter
=
""
self
.
show_expiration
=
false
self
.
show_expiration
=
"false"
self
.
coupon_img
=
""
}
...
...
@@ -1564,7 +1564,7 @@ public class swiftApi {
}
}
public
var
_show_expiration
:
Bool
?
{
public
var
_show_expiration
:
String
?
{
get
{
// getter
return
self
.
show_expiration
}
...
...
Please
register
or
login
to post a comment