> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# getRequiredInputElementTypes

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).

```kotlin KOTLIN theme={"dark"}
fun getRequiredInputElementTypes(): List<PrimerInputElementType>
```

## Returns

<Expandable title="Returns" defaultOpen>
  <ResponseField name="List<PrimerInputElementType>" required>
    <Expandable title="Properties">
      <ResponseField name="PrimerInputElementType">
        <Expandable title="cases" defaultOpen>
          <ResponseField name="PrimerInputElementType.CARD_NUMBER" />

          <ResponseField name="PrimerInputElementType.CVV" />

          <ResponseField name="PrimerInputElementType.EXPIRY_DATE" />

          <ResponseField name="PrimerInputElementType.CARDHOLDER_NAME" />

          <ResponseField name="PrimerInputElementType.RETAIL_OUTLET" />

          <ResponseField name="PrimerInputElementType.PHONE_NUMBER" />

          <ResponseField name="PrimerInputElementType.OTP_CODE" />
        </Expandable>
      </ResponseField>
    </Expandable>
  </ResponseField>
</Expandable>
