Use this method to retrieve the input element types exposed by the payment method. Based on these input element types, you can build the UI.

1
fun getRequiredInputElementTypes(): List<PrimerInputElementType>
kotlin
copy

Returns

List<PrimerInputElementType>Required

PrimerInputElementType

cases

PrimerInputElementType.CARD_NUMBER

PrimerInputElementType.CVV

PrimerInputElementType.EXPIRY_DATE

PrimerInputElementType.CARDHOLDER_NAME

PrimerInputElementType.RETAIL_OUTLET

PrimerInputElementType.PHONE_NUMBER

PrimerInputElementType.OTP_CODE