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
style
paymentFlowHandler
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)

Properties

Link copied to clipboard
val baseUrlPrefix: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard