Class SubmitHandler
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.internal.SavedStateHandleContainer
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public final class SubmitHandler<ComponentStateT extends PaymentComponentState<?>> implements SavedStateHandleContainer
-
-
Field Summary
Fields Modifier and Type Field Description private final Flow<ComponentStateT>submitFlowprivate final Flow<PaymentComponentUIState>uiStateFlowprivate final Flow<PaymentComponentUIEvent>uiEventFlowprivate final SavedStateHandlesavedStateHandle
-
Constructor Summary
Constructors Constructor Description SubmitHandler(SavedStateHandle savedStateHandle)
-
Method Summary
Modifier and Type Method Description final Flow<ComponentStateT>getSubmitFlow()final Flow<PaymentComponentUIState>getUiStateFlow()final Flow<PaymentComponentUIEvent>getUiEventFlow()SavedStateHandlegetSavedStateHandle()final Unitinitialize(CoroutineScope coroutineScope, Flow<ComponentStateT> componentStateFlow)final UnitonSubmit(ComponentStateT state)final UnitsetInteractionBlocked(Boolean isInteractionBlocked)-
-
Constructor Detail
-
SubmitHandler
SubmitHandler(SavedStateHandle savedStateHandle)
-
-
Method Detail
-
getSubmitFlow
final Flow<ComponentStateT> getSubmitFlow()
-
getUiStateFlow
final Flow<PaymentComponentUIState> getUiStateFlow()
-
getUiEventFlow
final Flow<PaymentComponentUIEvent> getUiEventFlow()
-
getSavedStateHandle
SavedStateHandle getSavedStateHandle()
-
initialize
final Unit initialize(CoroutineScope coroutineScope, Flow<ComponentStateT> componentStateFlow)
-
onSubmit
final Unit onSubmit(ComponentStateT state)
-
setInteractionBlocked
final Unit setInteractionBlocked(Boolean isInteractionBlocked)
-
-
-
-