vnpayment / com.venuenext.vnpayment / VNPayment

VNPayment

object VNPayment

Properties

paymentFragmentTag

const val paymentFragmentTag: String

paymentProcessableFragment

var paymentProcessableFragment: PaymentProcessableFragment?

useCustomUIForPayments

var useCustomUIForPayments: Boolean

Functions

configurePaymentProcessing

fun configurePaymentProcessing(paymentProcessableFragment: PaymentProcessableFragment, useCustomUIForPayments: Boolean): Unit

Configures the fragment used to process payments within the SDK.

fun configurePaymentProcessing(paymentProcessableFragment: PaymentProcessableFragment): Unit

isVirtualCurrencyPaymentEnabled

fun isVirtualCurrencyPaymentEnabled(context: Context, default: Boolean = VC_ENABLED_DEFAULT): Boolean

setVirtualCurrencyPaymentEnabled

fun setVirtualCurrencyPaymentEnabled(context: Context, isEnabled: Boolean): Unit