DLMobile Checkout
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.
sheet State
Manages the state of the bottom sheet.
is Open
Holds the visibility state of the bottom sheet.
modifier
The customizations for the different fields in the form.
on Close
Called when the bottom sheet is dismissed. Returns Unit for now but it should return the result of the payment.