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

Functions

Link copied to clipboard
Link copied to clipboard

Sets the method used to handle actions. See ActionHandlingMethod for the available options.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Set if the option to store the shopper's account for future payments should be shown as an input field.

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

Sets if submit button will be visible or not.