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, val baseUrlPrefix: String? = 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
baseUrlPrefix
an optional alphanumeric prefix used to route requests to a specific regional or merchant-specific subdomain (e.g., "msdd"). Must be alphanumeric.
Constructors
Link copied to clipboard
constructor(publicKey: String, context: Context, environment: Environment, style: PaymentFormStyle, paymentFlowHandler: PaymentFlowHandler, supportedCardSchemeList: List<CardScheme> = emptyList(), prefillData: PrefillData? = null, baseUrlPrefix: String? = null)