Manos Chorianopoulos

update SharingCouponModel

...@@ -4300,6 +4300,7 @@ public class swiftApi { ...@@ -4300,6 +4300,7 @@ public class swiftApi {
4300 private var couponset_uuid: String? 4300 private var couponset_uuid: String?
4301 private var date: String? 4301 private var date: String?
4302 private var discount: String? 4302 private var discount: String?
4303 + private var merchant_uuid: String?
4303 private var sharing_type: String? 4304 private var sharing_type: String?
4304 // private var transaction_metadata: String? 4305 // private var transaction_metadata: String?
4305 private var name: String? 4306 private var name: String?
...@@ -4310,6 +4311,7 @@ public class swiftApi { ...@@ -4310,6 +4311,7 @@ public class swiftApi {
4310 self.couponset_uuid = "" 4311 self.couponset_uuid = ""
4311 self.date = "" 4312 self.date = ""
4312 self.discount = "" 4313 self.discount = ""
4314 + self.merchant_uuid = ""
4313 self.sharing_type = "" 4315 self.sharing_type = ""
4314 // self.transaction_metadata = "" 4316 // self.transaction_metadata = ""
4315 self.name = "" 4317 self.name = ""
...@@ -4320,6 +4322,7 @@ public class swiftApi { ...@@ -4320,6 +4322,7 @@ public class swiftApi {
4320 public init(dictionary: [String: Any]) { 4322 public init(dictionary: [String: Any]) {
4321 self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? "" 4323 self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? ""
4322 self.discount = dictionary["discount"] as? String? ?? "" 4324 self.discount = dictionary["discount"] as? String? ?? ""
4325 + self.merchant_uuid = dictionary["merchant_uuid"] as? String? ?? ""
4323 self.sharing_type = dictionary["sharing_type"] as? String? ?? "" 4326 self.sharing_type = dictionary["sharing_type"] as? String? ?? ""
4324 // self.transaction_metadata = dictionary["transaction_metadata"] as? String? ?? "" 4327 // self.transaction_metadata = dictionary["transaction_metadata"] as? String? ?? ""
4325 4328
...@@ -4394,6 +4397,15 @@ public class swiftApi { ...@@ -4394,6 +4397,15 @@ public class swiftApi {
4394 } 4397 }
4395 } 4398 }
4396 4399
4400 + public var _merchant_uuid: String {
4401 + get { // getter
4402 + return self.merchant_uuid ?? ""
4403 + }
4404 + set(newValue) { //setter
4405 + self.merchant_uuid = newValue
4406 + }
4407 + }
4408 +
4397 public var _sharing_type: String { 4409 public var _sharing_type: String {
4398 get { // getter 4410 get { // getter
4399 return self.sharing_type ?? "" 4411 return self.sharing_type ?? ""
......