Package-level declarations
Functions
Link copied to clipboard
fun PaymentDataDisplayComponent(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String, momoTransaction: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for MomoTransaction?>)
Renders a read-only summary of a completed MOMO transaction, including amount, currency, financial transaction ID, external ID, payer/payee, message, note, status, reason, and reference ID to refund when present.
Link copied to clipboard
Link copied to clipboard
fun PaymentDataScreenComponent(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, title: String, submitButtonText: String, phoneNumber: String, financialId: String, showFinancialId: Boolean = true, referenceIdToRefund: String, showReferenceIdToRefund: Boolean = true, amount: String, paymentMessage: String, paymentNote: String, deliveryNote: String, showDeliveryTextField: Boolean = true, onRequestPayButtonClicked: () -> Unit, onPhoneNumberUpdated: (String) -> Unit, onFinancialIdUpdated: (String) -> Unit, onReferenceIdToRefundUpdated: (String) -> Unit, onAmountUpdated: (String) -> Unit, onPayerMessageUpdated: (String) -> Unit, onPayerNoteUpdated: (String) -> Unit, onDeliveryNoteUpdated: (String) -> Unit)
Renders a scrollable payment data capture form with conditionally shown fields for financial ID, reference ID to refund, and delivery note, along with a submit button.
Link copied to clipboard