Class ChallengeParameters
-
- All Implemented Interfaces:
public final class ChallengeParameters
This class holds the parameters that are required to conduct the challenge process.
Note: It is mandatory to set values for these parameters.
Created by Ran Haveshush on 24/08/2018.
-
-
Constructor Summary
Constructors Constructor Description ChallengeParameters()
-
Method Summary
Modifier and Type Method Description static String
getEmbeddedRequestorAppURL(Context context)
Returns the ThreeDSRequestorAppURL handled by the 3DS2 SDK for automatic continuation of OOB flow. String
get3DSServerTransactionID()
void
set3DSServerTransactionID(String threeDSServerTransactionID)
Sets the 3DS Server Transaction ID. String
getAcsTransactionID()
void
setAcsTransactionID(String acsTransactionID)
Sets the ACS Server Transaction ID. String
getAcsRefNumber()
void
setAcsRefNumber(String acsRefNumber)
Sets the ACS Reference Number. String
getAcsSignedContent()
void
setAcsSignedContent(String acsSignedContent)
Sets the ACS signed content. void
setThreeDSRequestorAppURL(String threeDSRequestorAppURL)
Sets the 3DS Requestor App URL. String
getThreeDSRequestorAppURL()
-
-
Method Detail
-
getEmbeddedRequestorAppURL
@Deprecated(message = "Replace by your Android App Link associated with ChallengeActivity.")@NonNull() static String getEmbeddedRequestorAppURL(Context context)
Returns the ThreeDSRequestorAppURL handled by the 3DS2 SDK for automatic continuation of OOB flow.
- Parameters:
context
- A context to get the app package name.- Returns:
The ThreeDSRequestorAppURL expected to be passed in the ChallengeParameters.
-
get3DSServerTransactionID
String get3DSServerTransactionID()
- Returns:
The 3DS server transaction ID.
-
set3DSServerTransactionID
void set3DSServerTransactionID(String threeDSServerTransactionID)
Sets the 3DS Server Transaction ID. This ID is a transaction identifier assigned by the 3DS Server to uniquely identify a single transaction.
- Parameters:
threeDSServerTransactionID
- The transaction identifier assigned by the 3DS Server to uniquely identify a single transaction.
-
getAcsTransactionID
String getAcsTransactionID()
- Returns:
The ACS server transaction ID.
-
setAcsTransactionID
void setAcsTransactionID(String acsTransactionID)
Sets the ACS Server Transaction ID.
- Parameters:
acsTransactionID
- The transaction ID assigned by the ACS to uniquely identify a single transaction.
-
getAcsRefNumber
String getAcsRefNumber()
- Returns:
The ACS reference number.
-
setAcsRefNumber
void setAcsRefNumber(String acsRefNumber)
Sets the ACS Reference Number.
- Parameters:
acsRefNumber
- The ACS identifier assigned by EMVCo.
-
getAcsSignedContent
String getAcsSignedContent()
- Returns:
The ACS signed content.
-
setAcsSignedContent
void setAcsSignedContent(String acsSignedContent)
Sets the ACS signed content. This content includes the ACS URL, ACS ephemeral public key, and SDK ephemeral public key.
- Parameters:
acsSignedContent
- The ACS signed content.
-
setThreeDSRequestorAppURL
void setThreeDSRequestorAppURL(String threeDSRequestorAppURL)
Sets the 3DS Requestor App URL. It is strongly recommended to set url in Android App Link (https) format.
- Parameters:
threeDSRequestorAppURL
- The 3DS Requestor App URL.
-
getThreeDSRequestorAppURL
String getThreeDSRequestorAppURL()
- Returns:
the 3DS Requestor App URL as a string.
-
-
-
-