Interface PendingCardActivation
-
public interface PendingCardActivationPendingCardActivation indicates the card which are previously interrupted during activation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate(byte[] otp, MGDigitizationListener mgDigitizationListener)Activate the card using the received OTP.voidactivate(int resultCode, MGDigitizationListener mgDigitizationListener)Activate the card using the 3D Secure authentication result.voidactivate(MGDigitizationListener mgDigitizationListener)Activate the card using the App2App ID&V flow.AppToAppDatagetAppToAppData()If user selects app2app ID&V method for yellow flow enrollment, then SDK will trigger this API.CardArtgetCardArt()Fetch the card art of the pending card.PendingCardActivationStategetState()Fetch the state of the Pending card.ThreeDSecuregetThreeDSecure()Fetch the 3D Secure params.voidinvokeIdvSelection(MGDigitizationListener mgDigitizationListener)Invokes the call back to Select the IDV method.
-
-
-
Method Detail
-
getThreeDSecure
ThreeDSecure getThreeDSecure()
Fetch the 3D Secure params.- Returns:
- the the 3D Secure params.
-
getAppToAppData
AppToAppData getAppToAppData()
If user selects app2app ID&V method for yellow flow enrollment, then SDK will trigger this API. MPA developers are expected to useAppToAppDatato get payload, scheme and source.- Returns:
- appToAppData the data will be required by MPA to pass on to issuer app. User will authenticate card enrollment via issuer app.
- Since:
- 6.3.0
-
getState
PendingCardActivationState getState()
Fetch the state of the Pending card.- Returns:
- the state of the pending card.
-
getCardArt
CardArt getCardArt()
Fetch the card art of the pending card.- Returns:
- the card art of the pending card.
-
invokeIdvSelection
void invokeIdvSelection(MGDigitizationListener mgDigitizationListener)
Invokes the call back 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)Activate the card using the received OTP. An IllegalStateException will be thrown if this API is called for a pendingCardActivation, if its state is other than OTP_NEEDED.- Parameters:
otp- the otp received.mgDigitizationListener- the digitization listener.
-
activate
void activate(int resultCode, MGDigitizationListener mgDigitizationListener)Activate 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)
Activate 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
-
-