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
697 B

  1. //
  2. // RecipientsWireframeInputOutput.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 08/08/2019.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. protocol RecipientsWireframeInput: WireframeInput {
  10. func openSelectAccount(with accounts: [Account])
  11. func openAddRecipient(with delegate: SetupRecipientDelegate)
  12. func openEditRecipient(who recipient: Recipient, with delegate: SetupRecipientDelegate)
  13. func goNextStep(who recipient: Recipient, with account: Account)
  14. }
  15. protocol RecipientsWireframeOutput: class {
  16. func setSelectedAccount(_ account: Account)
  17. func openedSetupRecipient()
  18. func setSelectAccountError(with error: Error)
  19. }