Showing
1 changed file
with
5 additions
and
5 deletions
... | @@ -208,15 +208,15 @@ public class MerchantModel { | ... | @@ -208,15 +208,15 @@ public class MerchantModel { |
208 | 208 | ||
209 | // Parse business operations | 209 | // Parse business operations |
210 | self.working_hours = dictionary["working_hours"] as? String? ?? "" | 210 | self.working_hours = dictionary["working_hours"] as? String? ?? "" |
211 | - self.year_established = dictionary["year_established"] as? Int? | 211 | + self.year_established = dictionary["year_established"] as? Int |
212 | self.currency = dictionary["currency"] as? String? ?? "" | 212 | self.currency = dictionary["currency"] as? String? ?? "" |
213 | self.bank = dictionary["bank"] as? String? ?? "" | 213 | self.bank = dictionary["bank"] as? String? ?? "" |
214 | 214 | ||
215 | // Parse e-commerce fields | 215 | // Parse e-commerce fields |
216 | - self.min_order_price = dictionary["min_order_price"] as? Double? | 216 | + self.min_order_price = dictionary["min_order_price"] as? Double |
217 | - self.min_order_price_takeaway = dictionary["min_order_price_takeaway"] as? Double? | 217 | + self.min_order_price_takeaway = dictionary["min_order_price_takeaway"] as? Double |
218 | - self.min_price = dictionary["min_price"] as? Double? | 218 | + self.min_price = dictionary["min_price"] as? Double |
219 | - self.max_price = dictionary["max_price"] as? Double? | 219 | + self.max_price = dictionary["max_price"] as? Double |
220 | 220 | ||
221 | // Parse SEO and categorization | 221 | // Parse SEO and categorization |
222 | self.url_name = dictionary["url_name"] as? String? ?? "" | 222 | self.url_name = dictionary["url_name"] as? String? ?? "" | ... | ... |
-
Please register or login to post a comment