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

1
func listRequiredInputElementTypes(for paymentMethodType: String) -> [PrimerInputElementType]
swift
copy

Returns

cardNumber

expiryDate

cvv

cardholderName

otp

postalCode

phoneNumber

retailer

unknown