InKwon James Kim
5 years ago
13 changed files with 215 additions and 41 deletions
-
16GME Remit.xcodeproj/project.pbxproj
-
14GME Remit/APIs/Router/APIRouter.swift
-
4GME Remit/Modules/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift
-
13GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Interactor/PhoneCardRechargeInteractor.swift
-
5GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Interactor/PhoneCardRechargeInteractorIO.swift
-
38GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Model/CardInformation.swift
-
26GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Model/CardList.swift
-
26GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Model/CountryPriceModel.swift
-
10GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeService.swift
-
7GME Remit/Modules/PowerCallModules/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeServiceType.swift
-
18GME Remit/Modules/PowerCallModules/PhoneCardRecharge/User Interface/Presenter/PhoneCardRechargePresenter.swift
-
21GME Remit/Modules/PowerCallModules/PhoneCardRecharge/User Interface/View/PhoneCardRechargeViewController.swift
-
58GME Remit/MultiLanguages/si.lproj/Localizable.strings
@ -0,0 +1,38 @@ |
|||
// |
|||
// 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: String? |
|||
var cardName: String? |
|||
var telecomCode: String? |
|||
var subInfo: [CardInformation]? |
|||
|
|||
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"] |
|||
subInfo <- map["SubInfo"] |
|||
} |
|||
} |
@ -0,0 +1,26 @@ |
|||
// |
|||
// CardList.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 CardList: Mappable { |
|||
var type: String? |
|||
var buttonPrices: [PriceModel]? |
|||
var countryPriceCode: [CountryPriceModel]? |
|||
var cardInfomations: [CardInformation]? |
|||
|
|||
init?(map: Map) { |
|||
} |
|||
|
|||
mutating func mapping(map: Map) { |
|||
type <- map["CardListType"] |
|||
buttonPrices <- map["buttonsGrid"] |
|||
countryPriceCode <- map["countryPriceCode"] |
|||
cardInfomations <- map["cardInfo"] |
|||
} |
|||
} |
@ -0,0 +1,26 @@ |
|||
// |
|||
// CountryPriceModel.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 CountryPriceModel: Mappable { |
|||
var countryName: String? |
|||
var countryCode: String? |
|||
var countryCable: String? |
|||
var wireless: String? |
|||
|
|||
init?(map: Map) { } |
|||
|
|||
mutating func mapping(map: Map) { |
|||
countryName <- map["Country"] |
|||
countryCode <- map["Code"] |
|||
countryCable <- map["Cable"] |
|||
wireless <- map["Wireless"] |
|||
} |
|||
} |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue