setSupportedCardTypes

Set the supported card types for this payment. Supported types will be shown as user inputs the card number.

Defaults to PaymentMethod.brands if it exists, or DEFAULT_SUPPORTED_CARDS_LIST otherwise.

Use this method when adding supported types that are not inside the CardType enum.

Return

CardConfiguration.Builder

Parameters

supportCardBrands

array of CardBrand


Set the supported card types for this payment. Supported types will be shown as user inputs the card number.

Defaults to PaymentMethod.brands if it exists, or DEFAULT_SUPPORTED_CARDS_LIST otherwise.

Return

CardConfiguration.Builder

Parameters

supportCardTypes

array of CardType