Manos Chorianopoulos
......@@ -7,6 +7,7 @@
#import <Foundation/Foundation.h>
#import "MyApi.h"
#import <WarplySDKFrameworkIOS/WarplySDKFrameworkIOS-Swift.h>
//! Project version number for WarplySDKFrameworkIOS.
FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber;
......
......@@ -76,7 +76,7 @@ public class swiftApi {
let buyable: Bool?
let visible: Bool?
init(dictionary: [String: Any]) {
public init(dictionary: [String: Any]) {
self.uuid = dictionary["uuid"] as? String? ?? ""
self.admin_name = dictionary["admin_name"] as? String? ?? ""
self.name = dictionary["name"] as? String? ?? ""
......@@ -184,7 +184,7 @@ public class swiftApi {
let status: Int?
var couponset_data: CouponSetItemModel?
init(dictionary: [String: Any]) {
public init(dictionary: [String: Any]) {
self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? ""
self.name = dictionary["name"] as? String? ?? ""
self.image = dictionary["image"] as? String? ?? ""
......@@ -362,7 +362,7 @@ public class swiftApi {
CouponsDataModel().getCouponsData(getCouponsCallback)
}
public func getCoupons() -> Array<CouponItemModel> {
public class func getCoupons() -> Array<CouponItemModel> {
return CouponsDataModel().getData
}
......