Class EContextComponent
-
- All Implemented Interfaces:
-
com.adyen.checkout.action.core.internal.ActionHandlingComponent,com.adyen.checkout.components.core.internal.ButtonComponent,com.adyen.checkout.components.core.internal.Component,com.adyen.checkout.components.core.internal.PaymentComponent,com.adyen.checkout.ui.core.internal.ui.ViewableComponent
public abstract class EContextComponent<EContextPaymentMethodT extends EContextPaymentMethod, EContextComponentStateT extends PaymentComponentState<EContextPaymentMethodT>> extends ViewModel implements PaymentComponent, ViewableComponent, ButtonComponent, ActionHandlingComponent
-
-
Field Summary
Fields Modifier and Type Field Description private final ComponentDelegatedelegateprivate final Flow<ComponentViewType>viewFlowprivate final ComponentEventHandler<EContextComponentStateT>componentEventHandler
-
Method Summary
Modifier and Type Method Description ComponentDelegategetDelegate()Flow<ComponentViewType>getViewFlow()final ComponentEventHandler<EContextComponentStateT>getComponentEventHandler()BooleanisConfirmationRequired()Unitsubmit()UnitsetInteractionBlocked(Boolean isInteractionBlocked)-
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable, addCloseable, getCloseable -
Methods inherited from class com.adyen.checkout.action.core.internal.ActionHandlingComponent
canHandleAction, handleAction, handleIntent, setOnRedirectListener -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDelegate
ComponentDelegate getDelegate()
-
getViewFlow
Flow<ComponentViewType> getViewFlow()
-
getComponentEventHandler
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final ComponentEventHandler<EContextComponentStateT> getComponentEventHandler()
-
isConfirmationRequired
Boolean isConfirmationRequired()
-
setInteractionBlocked
Unit setInteractionBlocked(Boolean isInteractionBlocked)
-
-
-
-