public interface Transaction
AReqmessages and to perform the Challenge Flow.
Created by Ran Haveshush on 24/08/2018.
|Modifier and Type||Method and Description|
Cleans up resources that are held by the
Call this method when the transaction is completed.
Initiates the 3DS Challenge Flow process.
The App should include these authentication request parameters in the message to the 3DS server.
AuthenticationRequestParametersparameters, which contains encrypted device information and 3DS SDK information.
void doChallenge(android.app.Activity currentActivity, ChallengeParameters challengeParameters, ChallengeStatusReceiver challengeStatusReceiver, int timeOut) throws InvalidInputException
Note: This method shall be called only when the Challenge Flow is to be applied.
When this method is called, control of the App is passed to the 3DS SDK.
At any point of time, if the time taken by the challenge process exceeds the timeout value passed,
ChallengeStatusReceiver.timedout() method will be called.
currentActivity- The current
Activityinstance that invoked this method.
ChallengeParameters, details required by the 3DS SDK to conduct the challenge process during the transaction. The following details are mandatory:
ChallengeStatusReceivercallback object for notifying the App about the challenge status.
timeOut- The timeout interval (in minutes) within which the challenge process must be completed.
InvalidInputException- This exception will be thrown if an input parameter is invalid. A timeout interval of less than 5 minutes is also treated as invalid input.
ProgressDialog getProgressView(android.app.Activity currentActivity) throws InvalidInputException
ProgressDialoginstance (processing screen) that the App may use.