PaymentFormConfig
data class PaymentFormConfig @JvmOverloads constructor(val publicKey: String, val context: Context, val environment: Environment, var style: PaymentFormStyle, val paymentFlowHandler: PaymentFlowHandler, var supportedCardSchemeList: List<CardScheme> = emptyList(), val prefillData: PrefillData? = null)
Parameters
publicKey
used for client-side authentication in the SDK
context
represent the application context
environment
Environment represent the environment for tokenization
style
PaymentFormStyle represent the style for PaymentForm
paymentFlowHandler
PaymentFlowHandler represent the handler for PaymentForm
supportedCardSchemeList
represent the supported card schemes CardScheme in PaymentForm
prefillData
PrefillData represent the data for prefill in the PaymentForm
Constructors
Link copied to clipboard
constructor(publicKey: String, context: Context, environment: Environment, style: PaymentFormStyle, paymentFlowHandler: PaymentFlowHandler, supportedCardSchemeList: List<CardScheme> = emptyList(), prefillData: PrefillData? = null)