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.

22 lines
804 B

5 years ago
5 years ago
  1. //
  2. // SetupRecipientModuleInterface.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 SetupRecipientModuleInterface: class {
  9. func fetchCountriesAndServiceTypes()
  10. func openSelectMode(with model: [TablePresenterProtocol], type: SetupOpenType)
  11. func openBranches(countryCode: String, bankID: String)
  12. func fetchDynamicRecipientFields(country: CountryAndServiceModel?, paymentMode: PaymentServiceType?)
  13. func saveRecipient(at recipient: Recipient)
  14. func validateAccount(with validateAccountModel: ValidateAccountRequest, recipient: Recipient)
  15. }
  16. protocol SetupRecipientDelegate: class {
  17. func setupRecieient(_ viewController: SetupRecipientViewController, didSelectRecipientID: String?)
  18. }