Interface PaymentComponentDelegate
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.internal.ui.ComponentDelegate
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public interface PaymentComponentDelegate<ComponentStateT extends PaymentComponentState<out PaymentMethodDetails>> implements ComponentDelegate
Handles all the logic in payment components
-
-
Method Summary
Modifier and Type Method Description abstract StringgetPaymentMethodType()abstract Unitobserve(LifecycleOwner lifecycleOwner, CoroutineScope coroutineScope, Function1<PaymentComponentEvent<ComponentStateT>, Unit> callback)abstract UnitremoveObserver()abstract Flow<ComponentStateT>getSubmitFlow()-
-
Method Detail
-
getPaymentMethodType
abstract String getPaymentMethodType()
-
observe
abstract Unit observe(LifecycleOwner lifecycleOwner, CoroutineScope coroutineScope, Function1<PaymentComponentEvent<ComponentStateT>, Unit> callback)
-
removeObserver
abstract Unit removeObserver()
-
getSubmitFlow
abstract Flow<ComponentStateT> getSubmitFlow()
-
-
-
-