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.
|
|
// // 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) } }
|