CollectionScreen
fun CollectionScreen(navController: ERROR CLASS: Symbol not found for NavController??, snackStateFlow: ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>, showProgressBar: Boolean = false, collectionPayScreenViewModel: CollectionPayScreenViewModel?, requestToPayStatus: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for RequestToPayStatus?>)
Renders the Collection Request-to-Pay screen, showing a payment capture form when no transaction result is available, or a request-to-pay status summary once a RequestToPayStatus has been returned.
Parameters
navController
NavController used to navigate between destinations via the drawer.
snackStateFlow
Flow emitting SnackBarComponentConfiguration messages to display.
showProgressBar
Whether to display a loading indicator instead of the form; defaults to false.
collectionPayScreenViewModel
ViewModel providing form state and callbacks; may be null in previews.
requestToPayStatus
LiveData holding the completed RequestToPayStatus; null triggers the capture form.