Companion
object Companion
Functions
Link copied to clipboard
fun create(activity: ComponentActivity, paymentOptionCallback: PaymentOptionCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
Create the FlowController when launching the payment sheet from an Activity.
fun create(fragment: Fragment, paymentOptionCallback: PaymentOptionCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
Create the FlowController when launching the payment sheet from a Fragment.