Constructors

Link copied to clipboard
constructor(environment: Environment, clientKey: String)

Initialize a configuration builder with the required fields.

constructor(context: Context, environment: Environment, clientKey: String)

Alternative constructor that uses the context to fetch the user locale and use it as a shopper locale.

constructor(shopperLocale: Locale, environment: Environment, clientKey: String)

Builder with parameters for a CardConfiguration.

Functions

Link copied to clipboard
Link copied to clipboard

Configures the address form to be shown to the shopper.

Link copied to clipboard
Link copied to clipboard

Set if the CVC field should be hidden from the Component and not requested to the shopper on a regular payment. Note that this might have implications for the risk of the transaction. Talk to Adyen Support before enabling this.

Link copied to clipboard

Set if the CVC field should be hidden from the Component and not requested to the shopper on a stored payment flow. Note that this has implications for the risk of the transaction. Talk to Adyen Support before enabling this.

Link copied to clipboard

Set if the holder name is required and should be shown as an input field.

Link copied to clipboard

Configures the installment options to be provided to the shopper.

Link copied to clipboard

Set if security fields for Korean cards should be visible or not.

Link copied to clipboard
Link copied to clipboard

Set the unique reference for the shopper doing this transaction. This value will simply be passed back to you in the PaymentComponentData for convenience.

Link copied to clipboard

Set if the option to store the card for future payments should be shown as an input field.

Link copied to clipboard

Set if CPF/CNPJ field for Brazil merchants should be visible or not.

Link copied to clipboard
open override fun setSubmitButtonVisible(isSubmitButtonVisible: Boolean): CardConfiguration.Builder

Sets if submit button will be visible or not.

Link copied to clipboard

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