PaymentComponentDelegate
interface PaymentComponentDelegate<ComponentStateT : PaymentComponentState<out PaymentMethodDetails>> : ComponentDelegate
Handles all the logic in payment components
Functions
Link copied to clipboard
Link copied to clipboard
Use this method if your delegate needs to use a CoroutineScope.
Link copied to clipboard
abstract fun observe(lifecycleOwner: LifecycleOwner, coroutineScope: CoroutineScope, callback: (PaymentComponentEvent<ComponentStateT>) -> Unit)
Link copied to clipboard