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 required parameters for a BcmcConfiguration.

Functions

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

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

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
open override fun setSubmitButtonVisible(isSubmitButtonVisible: Boolean): BcmcConfiguration.Builder

Sets if submit button will be visible or not.