CustomerSheet

🏗 This feature is in private beta and could change 🏗

CustomerSheet A class that presents a bottom sheet to manage a customer through the CustomerAdapter.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Configuration for CustomerSheet

Functions

Link copied to clipboard
fun present()

Presents a sheet to manage the customer through a CustomerAdapter. Results of the sheet are delivered through the callback passed in CustomerSheet.create.

Link copied to clipboard

Clears the customer session state. This is only needed in a single activity workflow. You should call this when leaving the customer management workflow in your single activity app. Otherwise, if your app is using a multi-activity workflow, then CustomerSheet will work out of the box and clearing manually is not required.

Link copied to clipboard

Retrieves the customer's saved payment option selection or null if the customer does not have a persisted payment option selection.