Catch Checkout Controller
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 createAndOpenVirtualCardCheckout(checkoutData: CreateVirtualCardCheckoutData, prefill: CheckoutPrefill)
Link copied to clipboard
Link copied to clipboard