requestPayment method
void
requestPayment({
- Payload? payload,
- BootpayDefaultCallback? onError,
- BootpayDefaultCallback? onCancel,
- BootpayCloseCallback? onClose,
- BootpayDefaultCallback? onIssued,
- BootpayConfirmCallback? onConfirm,
- BootpayAsyncConfirmCallback? onConfirmAsync,
- BootpayDefaultCallback? onDone,
- required BuildContext context,
Implementation
void requestPayment({
Payload? payload,
BootpayDefaultCallback? onError,
BootpayDefaultCallback? onCancel,
BootpayCloseCallback? onClose,
BootpayDefaultCallback? onIssued,
BootpayConfirmCallback? onConfirm,
BootpayAsyncConfirmCallback? onConfirmAsync,
BootpayDefaultCallback? onDone,
required BuildContext context,
}) {
_bootpayWebView?.requestPayment(
payload: payload,
onCancel: onCancel,
onError: onError,
onClose: onClose,
onIssued: onIssued,
onConfirm: onConfirm,
onConfirmAsync: onConfirmAsync,
onDone: onDone
);
}