create
fun create(activity: ComponentActivity, configuration: CustomerSheet.Configuration, customerAdapter: CustomerAdapter, callback: CustomerSheetResultCallback): CustomerSheet
Create a CustomerSheet
Parameters
activity
The Activity that is presenting CustomerSheet.
configuration
The Configuration options used to render the CustomerSheet.
customerAdapter
The bridge to communicate with your server to manage a customer.
callback
called when a CustomerSheetResult is available.
fun create(fragment: Fragment, configuration: CustomerSheet.Configuration, customerAdapter: CustomerAdapter, callback: CustomerSheetResultCallback): CustomerSheet
Create a CustomerSheet
Parameters
fragment
The Fragment that is presenting CustomerSheet.
configuration
The Configuration options used to render the CustomerSheet.
customerAdapter
The bridge to communicate with your server to manage a customer.
callback
called when a CustomerSheetResult is available.