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.

34 lines
809 B

  1. namespace CustomerOnlineRemit.Common.Model
  2. {
  3. public class ResponseHelper
  4. {
  5. public const int SUCCESS = 0;
  6. public const int FAILED = 1;
  7. public const int EXCEPTION = 999;
  8. public const int SUSPICIOUS = 2;
  9. }
  10. public class ResponseMessageHelper
  11. {
  12. public const string SUCCESS = "Success!";
  13. public const string FAILED = "Failed!";
  14. public const string EXCEPTION = "Exception occured in the system, please contact HO!";
  15. public const string SUSPICIOUS = "Transaction is in suspicious, please contact HO!";
  16. }
  17. public enum ToastType
  18. {
  19. Info = 3,
  20. Success = 0,
  21. Warning = 2,
  22. Error = 1
  23. }
  24. public enum ToastLevel
  25. {
  26. Info,
  27. Success,
  28. Warning,
  29. Error
  30. }
  31. }