Companion

object Companion

Functions

Link copied to clipboard
fun create(fragment: Fragment, paymentOptionCallback: PaymentOptionCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
fun create(activity: ComponentActivity, externalPaymentMethodConfirmHandler: ExternalPaymentMethodConfirmHandler, paymentOptionCallback: PaymentOptionCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
fun create(fragment: Fragment, externalPaymentMethodConfirmHandler: ExternalPaymentMethodConfirmHandler, paymentOptionCallback: PaymentOptionCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController

Create a FlowController that you configure with a client secret by calling configureWithPaymentIntent or configureWithSetupIntent.

fun create(activity: ComponentActivity, paymentOptionCallback: PaymentOptionCallback, createIntentCallback: CreateIntentCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
fun create(fragment: Fragment, paymentOptionCallback: PaymentOptionCallback, createIntentCallback: CreateIntentCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
fun create(activity: ComponentActivity, paymentOptionCallback: PaymentOptionCallback, externalPaymentMethodConfirmHandler: ExternalPaymentMethodConfirmHandler, createIntentCallback: CreateIntentCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController
fun create(fragment: Fragment, paymentOptionCallback: PaymentOptionCallback, createIntentCallback: CreateIntentCallback, externalPaymentMethodConfirmHandler: ExternalPaymentMethodConfirmHandler, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController

Create a FlowController that you configure with an IntentConfiguration by calling configureWithIntentConfiguration.