rememberCustomerSheet

Creates a CustomerSheet that is remembered across compositions.

This must be called unconditionally, as part of the initialization path.

Parameters

customerAdapter

The CustomerAdapter to fetch customer-related information

callback

Called with the result of the operation after CustomerSheet is dismissed


Creates a CustomerSheet with CustomerSession support that is remembered across compositions.

This must be called unconditionally, as part of the initialization path.

Parameters

customerSessionProvider

provider for providing customer session elements

callback

Called with the result of the operation after CustomerSheet is dismissed