Package-level declarations
Types
A bridge to your backend to fetch customer-related information. Typically, you will not need to implement this interface yourself. You should instead use CustomerAdapter.create, which manages retrieving and updating a Stripe customer for you.
Callback to provide the customer's ID and an ephemeral key from your server. Return CustomerAdapter.Result.failure with a CustomerAdapter.Result.Failure.displayMessage if something went wrong during the retrieval of the ephemeral key.
A drop-in class that presents a bottom sheet to manage a customer's saved payment methods.
Callback to be used when you use CustomerSheet, called when a customer makes a payment method selection, the sheet is canceled, or an error occurred.
The customer's payment option selection
Callback to provide the SetupIntent client secret given a customer ID from your server. Return CustomerAdapter.Result.failure with a with a CustomerAdapter.Result.Failure.displayMessage if something went wrong during the retrieval of the SetupIntent client secret.
Functions
Creates a CustomerSheet that is remembered across compositions.