Package com.adyen.checkout.adyen3ds2
Class Adyen3DS2Component
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.RedirectableActionComponent,com.adyen.checkout.components.core.internal.ActionComponent,com.adyen.checkout.components.core.internal.Component,com.adyen.checkout.components.core.internal.IntentHandlingComponent,com.adyen.checkout.components.core.internal.ResultHandlingComponent,com.adyen.checkout.ui.core.internal.ui.ViewableComponent
public final class Adyen3DS2Component extends ViewModel implements ActionComponent, IntentHandlingComponent, ViewableComponent, RedirectableActionComponent
An ActionComponent that is able to handle 3DS2 related actions.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ActionComponentProvider<Adyen3DS2Component, Adyen3DS2Configuration, Adyen3DS2Delegate>PROVIDERprivate final Flow<ComponentViewType>viewFlowprivate final Adyen3DS2Delegatedelegate
-
Method Summary
Modifier and Type Method Description Flow<ComponentViewType>getViewFlow()Adyen3DS2DelegategetDelegate()UnithandleAction(Action action, Activity activity)UnithandleIntent(Intent intent)Call this method when receiving the return URL from the 3DS redirect with the result data. BooleancanHandleAction(Action action)UnitsetOnRedirectListener(Function0<Unit> listener)-
-
Method Detail
-
getViewFlow
Flow<ComponentViewType> getViewFlow()
-
getDelegate
Adyen3DS2Delegate getDelegate()
-
handleAction
Unit handleAction(Action action, Activity activity)
-
handleIntent
Unit handleIntent(Intent intent)
Call this method when receiving the return URL from the 3DS redirect with the result data. This result will be in the Intent.getData and begins with the returnUrl you specified on the payments/ call.
- Parameters:
intent- The received Intent.
-
canHandleAction
Boolean canHandleAction(Action action)
-
setOnRedirectListener
Unit setOnRedirectListener(Function0<Unit> listener)
-
-
-
-