DLMobileCheckout

fun DLMobileCheckout(style: DLFormStyle, sheetState: SheetState, isOpen: Boolean, modifier: Modifier = Modifier, onClose: () -> Unit)

Creates the Payment Bottom Sheet containing the checkout UI ready to be presented.

Parameters

style

The style to apply to the form.

sheetState

Manages the state of the bottom sheet.

isOpen

Holds the visibility state of the bottom sheet.

modifier

The customizations for the different fields in the form.

onClose

Called when the bottom sheet is dismissed. Returns Unit for now but it should return the result of the payment.