Package-level declarations

Types

Link copied to clipboard
interface CustomerAdapter

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.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

🏗 This feature is in private beta and could change 🏗

Link copied to clipboard
sealed class CustomerSheetResult
Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

The customer's payment option selection

Link copied to clipboard

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

Link copied to clipboard

Creates a CustomerSheet that is remembered across compositions.