Interface Transaction

  • All Implemented Interfaces:

    
    public interface Transaction
    
                        

    An instance of this interface holds the AuthenticationRequestParameters. The App needs to pass these parameters to the 3DS Server which requires those parameters to create AReq messages and to perform the Challenge Flow.

    Created by Ran Haveshush on 24/08/2018.

    • Constructor Detail

    • Method Detail

      • doChallenge

        @Deprecated(message = "Use 'doChallenge(Activity!, ChallengeParameters!, " +
                         "ChallengeStatusHandler!, int): Unit' method instead.") abstract void doChallenge(Activity currentActivity, ChallengeParameters challengeParameters, ChallengeStatusReceiver challengeStatusReceiver, int timeOut)

        Initiates the 3DS Challenge Flow process.

        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 then the timedout method will be called.

        Parameters:
        currentActivity - The current Activity instance that invoked this method.
        challengeParameters - The ChallengeParameters, details required by the 3DS SDK to conduct the challenge process during the transaction.
        challengeStatusReceiver - The ChallengeStatusReceiver callback object for notifying the App about the challenge status.
        timeOut - The timeout interval (in minutes) within which the challenge process must be completed.
      • doChallenge

         abstract void doChallenge(Activity currentActivity, ChallengeParameters challengeParameters, ChallengeStatusHandler challengeStatusHandler, int timeOut)

        Initiates the 3DS Challenge Flow process.

        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. If the time taken by the challenge process exceeds the timeout value passed then the onCompletion} method will be called with ChallengeResult.Timeout.

        Parameters:
        currentActivity - The current Activity instance that invoked this method.
        challengeParameters - The ChallengeParameters, details required by the 3DS SDK to conduct the challenge process during the transaction.
        challengeStatusHandler - The ChallengeStatusHandler callback object for notifying the App about the challenge status.
        timeOut - The timeout interval (in minutes) within which the challenge process must be completed.
      • close

         abstract void close()

        Cleans up resources that are held by the Transaction object. Call this method when the transaction is completed.