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.

36 lines
796 B

  1. //
  2. // AutoDebitViewInterface.swift
  3. // GME Remit
  4. //
  5. // Created by Mac on 12/19/18.
  6. //Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. protocol AutoDebitViewInterface: class {
  9. /// Set KFTCModel
  10. ///
  11. /// - Parameter model: KFTCModel
  12. func setModel(with model: KFTCModel?)
  13. /// If did fail fetch KFTC bank account list
  14. ///
  15. /// - Parameter error: Error
  16. func didFailSetModel(with error: Error)
  17. /// If did success delete KFTC bank account
  18. func didDeleteAccount()
  19. /// If did fail delete KFTC bank account
  20. ///
  21. /// - Parameter error: Error
  22. func didFailDeleteAccount(with error: Error)
  23. func didFailRefreshToken(with error: Error)
  24. /// Start ActivityIndicator
  25. func startLoading()
  26. /// Stop ActivityIndicator
  27. func endLoading()
  28. }