BaseConfigurationBuilder

Initialize a configuration builder with the required fields and a shopper locale.

Parameters

shopperLocale

The Locale of the shopper.

environment

The Environment to be used for internal network calls from the SDK to Adyen.

clientKey

Your Client Key used for internal network calls from the SDK to Adyen.

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)

Functions

Link copied to clipboard

Build a configuration from the builder parameters.

Link copied to clipboard
open fun setAmount(amount: Amount): BuilderT

Sets the amount of the transaction.

Link copied to clipboard

Allows configuring the internal analytics of the library.

Link copied to clipboard
fun setShopperLocale(shopperLocale: Locale): BuilderT

Allows setting the preferred locale of the shopper.