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
2025-07-29 16:01:25 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dc271913c4de2c231322fb0709b075c3b7dfb1ea
dc271913
1 parent
5dcd886d
MerchantModel fixes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
SwiftWarplyFramework/SwiftWarplyFramework/models/Merchant.swift
SwiftWarplyFramework/SwiftWarplyFramework/models/Merchant.swift
View file @
dc27191
...
...
@@ -208,15 +208,15 @@ public class MerchantModel {
// Parse business operations
self
.
working_hours
=
dictionary
[
"working_hours"
]
as?
String
?
??
""
self
.
year_established
=
dictionary
[
"year_established"
]
as?
Int
?
self
.
year_established
=
dictionary
[
"year_established"
]
as?
Int
self
.
currency
=
dictionary
[
"currency"
]
as?
String
?
??
""
self
.
bank
=
dictionary
[
"bank"
]
as?
String
?
??
""
// Parse e-commerce fields
self
.
min_order_price
=
dictionary
[
"min_order_price"
]
as?
Double
?
self
.
min_order_price_takeaway
=
dictionary
[
"min_order_price_takeaway"
]
as?
Double
?
self
.
min_price
=
dictionary
[
"min_price"
]
as?
Double
?
self
.
max_price
=
dictionary
[
"max_price"
]
as?
Double
?
self
.
min_order_price
=
dictionary
[
"min_order_price"
]
as?
Double
self
.
min_order_price_takeaway
=
dictionary
[
"min_order_price_takeaway"
]
as?
Double
self
.
min_price
=
dictionary
[
"min_price"
]
as?
Double
self
.
max_price
=
dictionary
[
"max_price"
]
as?
Double
// Parse SEO and categorization
self
.
url_name
=
dictionary
[
"url_name"
]
as?
String
?
??
""
...
...
Please
register
or
login
to post a comment