AlfalahPaymentIntegration constructor
const
AlfalahPaymentIntegration({
- Key? key,
- required VoidCallback onSuccess,
- required VoidCallback onFailure,
- required MerchantDetails merchantDetails,
- required String transAmount,
onSuccessis called when the payment is successful.onFailureis called when the payment fails.merchantDetailscontains merchant-specific details required for the payment.transAmountis the transaction amount.
Implementation
const AlfalahPaymentIntegration(
{super.key,
required this.onSuccess,
required this.onFailure,
required this.merchantDetails,
required this.transAmount});