vnpayment / com.venuenext.vnpayment.protocol / PaymentSelectionResultListener

PaymentSelectionResultListener

interface PaymentSelectionResultListener

Functions

onCancel

Called when the payment flow has been canceled.

abstract fun onCancel(): Unit

onPaymentResult

Called when there is a result payment

abstract fun onPaymentResult(paymentResult: PaymentResult): Unit

onPaymentRetrieved

Called when a payment method has been retrieved

abstract fun onPaymentRetrieved(paymentResult: PaymentResult?): Unit

Inheritors

BasePaymentSelectionResultListener

Handles navigation and payment method persistence

class BasePaymentSelectionResultListener : PaymentSelectionResultListener, BaseCoroutineScope