Warning.h 993 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // Warning.h
  3. // CardinalEMVCoSDK
  4. //
  5. // Copyright © 2018 Cardinal Commerce. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. /**
  9. * The Severity enum defines the severity levels of warnings produced by the 3DS SDK while conducting security checks during initialization.
  10. */
  11. typedef enum{
  12. /**SeverityLow A low-severity warning.*/
  13. SeverityLow,
  14. /**SeverityMedium A medium-severity warning.*/
  15. SeverityMedium,
  16. /**SeverityHigh A high-severity warning.*/
  17. SeverityHigh
  18. }Severity;
  19. /**
  20. * The Warning class represents a warning that is produced by the 3DS SDK while performing security checks during initialization.
  21. */
  22. @interface Warning : NSObject
  23. /**
  24. * @property warningId Warning ID.
  25. */
  26. @property (nonatomic, strong) NSString* warningID;
  27. /**
  28. * @property message Warning message.
  29. */
  30. @property (nonatomic, strong) NSString* message;
  31. /**
  32. * @property severity Warning severity level.
  33. */
  34. @property (nonatomic, assign) Severity severity;
  35. @end