ChallengeParameters.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // ChallengeParameters.h
  3. // CardinalEMVCoSDK
  4. //
  5. // Copyright © 2018 Cardinal Commerce. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. /**
  9. * The ChallengeParameters class holds the parameters that are required to conduct the challenge process.
  10. */
  11. @interface ChallengeParameters : NSObject
  12. /**
  13. * @property threeDSServerTransactionID Transaction identifier assigned by the 3DS Server to uniquely identify a single transaction.
  14. */
  15. @property (nonatomic, strong) NSString* threeDSServerTransactionID;
  16. /**
  17. * @property acsTransactionID Transaction ID assigned by the ACS to uniquely identify a single transaction.
  18. */
  19. @property (nonatomic, strong) NSString* acsTransactionID;
  20. /**
  21. * @property acsRefNumber EMVCo assigns the ACS this identifier after running the EMV 3-D Secure Testing and Approvals process on the ACS.
  22. */
  23. @property (nonatomic, strong) NSString* acsRefNumber;
  24. /**
  25. * @property acsSignedContent ACS signed content. This data includes the ACS URL, ACS ephemeral public key, and SDK ephemeral public key.
  26. */
  27. @property (nonatomic, strong) NSString* acsSignedContent;
  28. /**
  29. * @property threeDSRequestorAppURL 3DS Requestor App URL
  30. */
  31. @property (nonatomic, strong) NSString* threeDSRequestorAppURL;
  32. /**
  33. * The get3DSServerTransactionID method returns the 3DS Server Transaction ID.
  34. * @return NSString
  35. */
  36. - (NSString *) get3DSServerTransactionID;
  37. /**
  38. * The getAcsTransactionID method returns the ACS Transaction ID.
  39. * @return NSString
  40. */
  41. - (NSString *) getAcsTransactionID;
  42. /**
  43. * The getAcsRefNumber method returns the ACS Reference Number.
  44. * @return NSString
  45. */
  46. - (NSString *) getAcsRefNumber;
  47. /**
  48. * The getAcsSignedContent method returns the ACS signed content.
  49. * @return NSString
  50. */
  51. - (NSString *) getAcsSignedContent;
  52. /**
  53. * The getThreeDSRequestorAppURL method returns the 3DS Requestor App URL.
  54. * @return NSString
  55. */
  56. - (NSString *) getThreeDSRequestorAppURL;
  57. @end