PaymentDataScreenComponent

fun PaymentDataScreenComponent(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String, submitButtonText: String, phoneNumber: String, financialId: String, amount: String, paymentMessage: String, paymentNote: String, onRequestPayButtonClicked: () -> Unit, onPhoneNumberUpdated: (String) -> Unit, onFinancialIdUpdated: (String) -> Unit, onAmountUpdated: (String) -> Unit, onPayerMessageUpdated: (String) -> Unit, onPayerNoteUpdated: (String) -> Unit)

Renders a payment data capture form with fields for phone number, financial ID, amount, payment message, and payment note, along with a submit button.

Parameters

modifier

Modifier applied to the root Column.

title

Section header text displayed above the form fields.

submitButtonText

Label for the submit button.

phoneNumber

Current value of the phone number field.

financialId

Current value of the financial ID field.

amount

Current value of the amount field.

paymentMessage

Current value of the payer message field.

paymentNote

Current value of the payer note field.

onRequestPayButtonClicked

Callback invoked when the submit button is clicked.

onPhoneNumberUpdated

Callback invoked when the phone number field value changes.

onFinancialIdUpdated

Callback invoked when the financial ID field value changes.

onAmountUpdated

Callback invoked when the amount field value changes.

onPayerMessageUpdated

Callback invoked when the payment message field value changes.

onPayerNoteUpdated

Callback invoked when the payment note field value changes.