Package-level declarations

Types

Link copied to clipboard
fun interface CreateIntentCallback

Callback to be used when you use PaymentSheet and intend to create and optionally confirm the PaymentIntent or SetupIntent on your server.

Link copied to clipboard

Represents the result of a CreateIntentCallback.

Link copied to clipboard

Callback to be used when you use PaymentSheet or PaymentSheet.FlowController and intend to create a PaymentIntent on your server and confirm on the client.

Link copied to clipboard
annotation class DelicatePaymentSheetApi
Link copied to clipboard
Link copied to clipboard

Handler to be used to confirm payment with an external payment method.

Link copied to clipboard

The result of an attempt to confirm an external payment method.

Link copied to clipboard

Handler used to respond to external payment method confirm results.

Link copied to clipboard
fun interface PaymentOptionCallback

Callback that is invoked when the customer's PaymentOption selection changes.

Link copied to clipboard

A drop-in class that presents a bottom sheet to collect and process a customer's payment.

Link copied to clipboard

The result of an attempt to confirm a PaymentIntent or SetupIntent.

Link copied to clipboard

Callback that is invoked when a PaymentSheetResult is available.

Functions

Link copied to clipboard

Creates a PaymentSheet that is remembered across compositions.

Creates a PaymentSheet that is remembered across compositions. Use this method when you intend to create the com.stripe.android.model.PaymentIntent or com.stripe.android.model.SetupIntent on your server.

fun rememberPaymentSheet(createIntentCallback: CreateIntentCallback? = null, externalPaymentMethodConfirmHandler: ExternalPaymentMethodConfirmHandler, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet

Creates a PaymentSheet that is remembered across compositions. Use this method if you implement any external payment methods, as specified in your PaymentSheet.Configuration.

Link copied to clipboard

Creates a PaymentSheet.FlowController that is remembered across compositions.

Creates a PaymentSheet.FlowController that is remembered across compositions. Use this method when you intend to create the com.stripe.android.model.PaymentIntent or com.stripe.android.model.SetupIntent on your server.

fun rememberPaymentSheetFlowController(createIntentCallback: CreateIntentCallback? = null, externalPaymentMethodConfirmHandler: ExternalPaymentMethodConfirmHandler, paymentOptionCallback: PaymentOptionCallback, paymentResultCallback: PaymentSheetResultCallback): PaymentSheet.FlowController

Creates a PaymentSheet.FlowController that is remembered across compositions. Use this method if you implement any external payment methods, as specified in your PaymentSheet.Configuration.