You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// // RedeemCashPickUpInteractor.swift // GME Remit // // Created by Amrit Giri on 7/6/20. //Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved. //
import Foundation
class RedeemCashPickUpInteractor { // MARK: Properties weak var output: RedeemCashPickUpInteractorOutput? private let service: RedeemCashPickUpServiceType // MARK: Initialization init(service: RedeemCashPickUpServiceType) { self.service = service }
// MARK: Converting entities }
// MARK: RedeemCashPickUp interactor input interface
extension RedeemCashPickUpInteractor: RedeemCashPickUpInteractorInput { func search(controlNo: String){ self.service.searchControlNumber(controlNo: controlNo, success: { (model) in self.output?.success(model: model) }) { (error) in self.output?.show(error: error) } } }
|