Manos Chorianopoulos

update SharingCouponModel

......@@ -4300,6 +4300,7 @@ public class swiftApi {
private var couponset_uuid: String?
private var date: String?
private var discount: String?
private var merchant_uuid: String?
private var sharing_type: String?
// private var transaction_metadata: String?
private var name: String?
......@@ -4310,6 +4311,7 @@ public class swiftApi {
self.couponset_uuid = ""
self.date = ""
self.discount = ""
self.merchant_uuid = ""
self.sharing_type = ""
// self.transaction_metadata = ""
self.name = ""
......@@ -4320,6 +4322,7 @@ public class swiftApi {
public init(dictionary: [String: Any]) {
self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? ""
self.discount = dictionary["discount"] as? String? ?? ""
self.merchant_uuid = dictionary["merchant_uuid"] as? String? ?? ""
self.sharing_type = dictionary["sharing_type"] as? String? ?? ""
// self.transaction_metadata = dictionary["transaction_metadata"] as? String? ?? ""
......@@ -4394,6 +4397,15 @@ public class swiftApi {
}
}
public var _merchant_uuid: String {
get { // getter
return self.merchant_uuid ?? ""
}
set(newValue) { //setter
self.merchant_uuid = newValue
}
}
public var _sharing_type: String {
get { // getter
return self.sharing_type ?? ""
......