123456
data class PrimerHeadlessUniversalCheckoutPaymentMethod(    val paymentMethodType: String,    val supportedPrimerSessionIntents: List<PrimerSessionIntent>,    val paymentMethodManagerCategories: List<PrimerPaymentMethodManagerCategory>,    val requiredInputDataClass: KClass<out PrimerRawData>? = null)
kotlin
copy

Parameters

paymentMethodTypeStringRequired

A unique string identifier for the payment method.

supportedPrimerSessionIntentsList<PrimerSessionIntent>Required

A list of PrimerSessionIntent which defines what intents can be used with this payment method.
PrimerSessionIntent

PrimerSessionIntent.CHECKOUT

PrimerSessionIntent.VAULT

paymentMethodManagerCategoriesPrimerPaymentMethodManagerCategoryRequired

A list which defines the payment method managers that can be used with this payment method.
PrimerPaymentMethodManagerCategory

PrimerPaymentMethodManagerCategory.NATIVE_UI

Indicates that the supported payment method manager for the payment method is PrimerHeadlessUniversalCheckoutNativeUiManager.

PrimerPaymentMethodManagerCategory.RAW_DATA

Indicates that the supported payment method manager for the payment method is PrimerHeadlessUniversalCheckoutRawDataManager.

PrimerPaymentMethodManagerCategory.CARD_COMPONENTS

Indicates that the supported payment method manager for the payment method is PrimerHeadlessUniversalCheckoutCardComponentsManager.

requiredInputDataClassKClass<out PrimerRawData>?

Indicates the subclass of the PrimerRawData that must be set using the PrimerHeadlessUniversalCheckoutRawManager.