CatchCheckoutController

class CatchCheckoutController(activity: ComponentActivity, onCheckoutConfirmed: CheckoutConfirmedCallback? = null, onVirtualCardCheckoutConfirmed: VirtualCardCheckoutConfirmedCallback? = null, onCancel: CheckoutCanceledCallback? = null)

The CatchCheckoutController manages launching and handling checkout activities.

Constructors

Link copied to clipboard
constructor(fragment: Fragment, onCheckoutConfirmed: CheckoutConfirmedCallback? = null, onVirtualCardCheckoutConfirmed: VirtualCardCheckoutConfirmedCallback? = null, onCancel: CheckoutCanceledCallback? = null)
constructor(activity: ComponentActivity, onCheckoutConfirmed: CheckoutConfirmedCallback? = null, onVirtualCardCheckoutConfirmed: VirtualCardCheckoutConfirmedCallback? = null, onCancel: CheckoutCanceledCallback? = null)

Functions

Link copied to clipboard
fun openCheckout(checkoutId: String, prefill: CheckoutPrefill)
Link copied to clipboard