// // PaymentModeModel.swift // GME Remit // // Created by InKwon James Kim on 16/08/2019. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. // import ObjectMapper struct PaymentMethodModel: Mappable, RecipientCommonType { var id: String? var name: String? var currency: [String]? var localizedName: String? init() {} init( id: String?, name: String?, localizedName: String? ) { self.id = id self.name = name self.localizedName = localizedName } init?(map: Map) {} mutating func mapping(map: Map) { id <- map["id"] name <- map["name"] currency <- map["currency"] localizedName <- map["localizedName"] } } extension PaymentMethodModel: TablePresenterProtocol { var cellTitle: String? { return name } var cellImage: UIImage? { return nil } }