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

5 years ago
5 years ago
5 years ago
  1. //
  2. // SetupRecipientInteractorIO.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 09/08/2019.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. protocol SetupRecipientInteractorInput: class {
  9. func fetchCountriesAndServiceTypes()
  10. func fetchDynamicRecipientFields(country: String, paymentMode: String)
  11. func addRecipient(at recipient: Recipient)
  12. func editRecipient(at recipient: Recipient)
  13. func validateAccount(with validateAccountModel: ValidateAccountRequest, recipient: Recipient)
  14. }
  15. protocol SetupRecipientInteractorOutput: class {
  16. func setCoutryServices(with model: [CountryAndServiceModel], recipient: Recipient?)
  17. func setDynamicFields(with model: DynamicFieldModel, nativeCountires: [NativeCountryModel])
  18. func setError(with error: Error)
  19. func success(with model: ResponseContainerObject<Recipient>)
  20. }