Class PaymentObserverRepository
-
- All Implemented Interfaces:
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public final class PaymentObserverRepository
-
-
Constructor Summary
Constructors Constructor Description PaymentObserverRepository(ObserverContainer observerContainer)
-
Method Summary
Modifier and Type Method Description final <T extends PaymentComponentState<out PaymentMethodDetails>> UnitaddObservers(Flow<T> stateFlow, Flow<CheckoutException> exceptionFlow, Flow<T> submitFlow, LifecycleOwner lifecycleOwner, CoroutineScope coroutineScope, Function1<PaymentComponentEvent<T>, Unit> callback)final UnitremoveObservers()-
-
Constructor Detail
-
PaymentObserverRepository
PaymentObserverRepository(ObserverContainer observerContainer)
-
-
Method Detail
-
addObservers
final <T extends PaymentComponentState<out PaymentMethodDetails>> Unit addObservers(Flow<T> stateFlow, Flow<CheckoutException> exceptionFlow, Flow<T> submitFlow, LifecycleOwner lifecycleOwner, CoroutineScope coroutineScope, Function1<PaymentComponentEvent<T>, Unit> callback)
-
removeObservers
final Unit removeObservers()
-
-
-
-