Companion

object Companion

Functions

Link copied to clipboard
fun isOpen(supportFragmentManager: FragmentManager): Boolean

Function responsible for checking if the Payment.Sheet is currently open

Link copied to clipboard
fun onActivityResult(supportFragmentManager: FragmentManager, requestCode: Int, resultCode: Int, data: Intent?)

Function responsible for passing activity result data to Payment sheet after a process death occurred.

Link copied to clipboard
fun onBackPress(supportFragmentManager: FragmentManager)

Function responsible for passing a back press event to Payment.Sheet.

Link copied to clipboard
fun restore(supportFragmentManager: FragmentManager, paymentDelegate: PaymentDelegate)

Function responsible for restoring the PaymentDelegate callback after a process death occurred.