Interface PendingCardActivation


public interface PendingCardActivation
The PendingCardActivation interface indicates the cards which are previously interrupted during the activation.
  • Method Details

    • getThreeDSecure

      ThreeDSecure getThreeDSecure()
      Fetches the 3D Secure params.
      Returns:
      The 3D Secure params.
    • getAppToAppData

      AppToAppData getAppToAppData()
      If the end user selects an app2app ID&V method for the yellow flow enrolment, then the SDK will trigger this API. MPA developers are expected to use AppToAppData to get the payload, scheme and source.
      Returns:
      appToAppData that will be required by MPA to pass to the issuer app. The end user will authenticate the card enrolment via the issuer app.
      Since:
      6.3.0
    • getState

      Fetches the state of the pending card.
      Returns:
      The state of the pending card.
    • getCardArt

      CardArt getCardArt()
      Fetches the card art of the pending card.
      Returns:
      The card art of the pending card.
    • invokeIdvSelection

      void invokeIdvSelection(MGDigitizationListener mgDigitizationListener)
      Invokes the callback to select the IDV method. An IllegalStateException will be thrown if this API is called for a pendingCardActivation, if its state is other than IDV_METHOD_NOT_SELECTED.
      Parameters:
      mgDigitizationListener - The digitization listener.
    • activate

      void activate(byte[] otp, MGDigitizationListener mgDigitizationListener)
      Activates the card using the OTP received. An IllegalStateException will be thrown if this API is called for a pendingCardActivation, if the state is not OTP_NEEDED.
      Parameters:
      otp - The OTP received.
      mgDigitizationListener - The digitization listener.
    • activate

      void activate(int resultCode, MGDigitizationListener mgDigitizationListener)
      Activates the card using the 3D Secure authentication result. An IllegalStateException will be thrown if this API is called for a pendingCardActivation, if its state is other than WEB_3DS_NEEDED.
      Parameters:
      resultCode - The 3D-Secure processing result received.
      mgDigitizationListener - The digitization listener.
    • activate

      void activate(MGDigitizationListener mgDigitizationListener)
      Activates the card using the App2App ID&V flow. IllegalStateException will be thrown if pendingCardState is other than PendingCardActivationState.APP2APP_NEEDED.
      Parameters:
      mgDigitizationListener - The digitization listener.
      Since:
      6.3.0
    • activateWithTav

      void activateWithTav(byte[] tav, MGDigitizationListener mgDigitizationListener)
      Activate the card using the received token authentication value. An IllegalStateException will be thrown if this API is called for a pendingCardActivation, if its state is other than PendingCardActivationState.APP2APP_NEEDED.
      Parameters:
      tav - is the token authentication value received after App2App ID&V
      mgDigitizationListener - the digitization listener.