// // SendMoneyParentInteractor.swift // GMERemittance // // Created by gme_2 on 28/08/2018. //Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved. // import Foundation class SendMoneyParentInteractor { // MARK: Properties weak var output: SendMoneyParentInteractorOutput? private let service: SendMoneyParentServiceType var reciepient: Recipient? // MARK: Initialization init(service: SendMoneyParentServiceType, reciepient: Recipient?) { self.service = service self.reciepient = reciepient } // MARK: Converting entities } // MARK: SendMoneyParent interactor input interface extension SendMoneyParentInteractor: SendMoneyParentInteractorInput { func viewIsReady() { if let reciepient = self.reciepient { self.output?.show(model: reciepient) } } }