Interface PendingCardActivation
public interface PendingCardActivation
The PendingCardActivation interface indicates the cards which are previously interrupted during the activation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(byte[] otp, MGDigitizationListener mgDigitizationListener) Activates the card using the OTP received.voidactivate(int resultCode, MGDigitizationListener mgDigitizationListener) Activates the card using the 3D Secure authentication result.voidactivate(MGDigitizationListener mgDigitizationListener) Activates the card using the App2App ID&V flow.voidactivateWithTav(byte[] tav, MGDigitizationListener mgDigitizationListener) Activate the card using the received token authentication value.If the end user selects an app2app ID&V method for the yellow flow enrolment, then the SDK will trigger this API.Fetches the card art of the pending card.getState()Fetches the state of the pending card.Fetches the 3D Secure params.voidinvokeIdvSelection(MGDigitizationListener mgDigitizationListener) Invokes the callback to select the IDV method.
-
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 useAppToAppDatato 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
PendingCardActivationState 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
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
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
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
Activates the card using the App2App ID&V flow.IllegalStateExceptionwill be thrown if pendingCardState is other thanPendingCardActivationState.APP2APP_NEEDED.- Parameters:
mgDigitizationListener- The digitization listener.- Since:
- 6.3.0
-
activateWithTav
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 thanPendingCardActivationState.APP2APP_NEEDED.- Parameters:
tav- is the token authentication value received after App2App ID&VmgDigitizationListener- the digitization listener.
-