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

3 years ago
2 years ago
3 years ago
3 years ago
  1. //
  2. // NewUserRegisterInteractorIO.swift
  3. // GME Remit
  4. //
  5. // Created by Shiran on 8/4/20.
  6. //Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. protocol NewUserRegisterInteractorInput: class {
  9. func registerUser(model: NewUserRegisterModel)
  10. func requestOTP(userId: String)
  11. func checkOTP(otp: String, userId: String, customerType: String, model: NewUserRegisterModel)
  12. func validateReferralCode(code: String)
  13. }
  14. protocol NewUserRegisterInteractorOutput: class {
  15. func show(error: Error)
  16. func success()
  17. func loggedIn(message: String)
  18. func showOTPView()
  19. func obtained(data: ValidateReferralCodeModel)
  20. }