// // SelectPaymentInteractor.swift // GME Remit // // Created by InKwon Devik Kim on 30/04/2019. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. // import Foundation class SelectPaymentInteractor { // MARK: Properties weak var output: SelectPaymentInteractorOutput? private let service: SelectPaymentServiceType private let models: [Account]? // MARK: Initialization init(service: SelectPaymentServiceType, models: [Account]?) { self.service = service self.models = models } // MARK: Converting entities } // MARK: SelectPayment interactor input interface extension SelectPaymentInteractor: SelectPaymentInteractorInput { func fetchAccounts() { self.output?.setAccountModels(with: self.models) } }