Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val delegate: ComponentDelegate
Link copied to clipboard
open override val viewFlow: Flow<ComponentViewType?>

Functions

Link copied to clipboard
Link copied to clipboard
open override fun canHandleAction(action: Action): Boolean
Link copied to clipboard

Returns some of the parameters required to initialize the Google Pay button.

Link copied to clipboard
open override fun handleAction(action: Action, activity: Activity)
Link copied to clipboard
open override fun handleActivityResult(resultCode: Int, data: Intent?)

Handle the result from the GooglePay screen that was started by .startGooglePayScreen.

Link copied to clipboard
open override fun handleIntent(intent: Intent)
Link copied to clipboard
open override fun setInteractionBlocked(isInteractionBlocked: Boolean)
Link copied to clipboard
open override fun setOnRedirectListener(listener: () -> Unit)
Link copied to clipboard
fun startGooglePayScreen(activity: Activity, requestCode: Int)

Start the GooglePay screen which will return the result to the provided Activity.