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.
37 lines
873 B
37 lines
873 B
//
|
|
// 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)
|
|
}
|
|
}
|
|
}
|