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.
 
 
 
 

25 lines
866 B

//
// SetupRecipientInteractorIO.swift
// GME Remit
//
// Created by InKwon James Kim on 09/08/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
protocol SetupRecipientInteractorInput: class {
func fetchCountriesAndServiceTypes()
func fetchDynamicRecipientFields(country: String, paymentMode: String)
func addRecipient(at recipient: Recipient)
func editRecipient(at recipient: Recipient)
func validateAccount(with validateAccountModel: ValidateAccountRequest, recipient: Recipient)
}
protocol SetupRecipientInteractorOutput: class {
func setCoutryServices(with model: [CountryAndServiceModel], recipient: Recipient?)
func setDynamicFields(with model: DynamicFieldModel, nativeCountires: [NativeCountryModel])
func setError(with error: Error)
func success(with model: ResponseContainerObject<Recipient>)
}