// // CardInformation.swift // GME Remit // // Created by InKwon James Kim on 2019/10/21. // Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. // import ObjectMapper struct CardInformation: Mappable { var mvnoCode: String? var salePrice: String? var cardType: String? var productName: String? var facePrice: String? var productType: String? var planInfo: DetailPlanInformation? var cardName: String? var telecomCode: String? init?(map: Map) { } mutating func mapping(map: Map) { mvnoCode <- map["Mvno_code"] salePrice <- map["Sale_price"] cardType <- map["Card_type"] productName <- map["Product_name"] facePrice <- map["Face_price"] productType <- map["Product_type"] planInfo <- map["Plan_info"] cardName <- map["Card_name"] telecomCode <- map["Telecom_code"] } } extension CardInformation: TablePresenterProtocol { var cellTitle: String? { return cardName } var cellImage: UIImage? { return nil } }