vnpayment / com.venuenext.vnpayment.braintree.ui / BraintreePaymentProcessableFragment

BraintreePaymentProcessableFragment

class BraintreePaymentProcessableFragment : PaymentProcessableFragment

Note: Only one listener is supported per call

Constructors

<init>

Note: Only one listener is supported per call

BraintreePaymentProcessableFragment()

Functions

fetchPaymentMethod

Starts a request for the last used payment method - no UI is shown by Braintree drop-in

fun fetchPaymentMethod(paymentSelectionResultListener: PaymentSelectionResultListener): Unit

onActivityCreated

fun onActivityCreated(savedInstanceState: Bundle?): Unit

onActivityResult

fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?): Unit

processPayment

Starts payment processing.

fun processPayment(paymentSelectionResultListener: PaymentSelectionResultListener): Unit