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)

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

Functions

Link copied to clipboard
Link copied to clipboard

Set if you support credit cards.

Link copied to clipboard

Sets the supported authentication methods. Check AllowedAuthMethods for all the possible values.

Link copied to clipboard

Sets the allowed card networks. The allowed networks are automatically configured based on your account settings, but you can override them here. Check AllowedCardNetworks for all the possible values.

Link copied to clipboard

Set if you support prepaid cards.

Link copied to clipboard
open override fun setAmount(amount: Amount): GooglePayConfiguration.Builder

Sets the amount of the transaction.

Link copied to clipboard

Set to true to request assurance details.

Link copied to clipboard

Sets the required billing address details.

Link copied to clipboard

Set to true if you require a billing address.

Link copied to clipboard

Sets the ISO 3166-1 alpha-2 country code where the transaction is processed.

Link copied to clipboard

Set to true if you require an email address.

Link copied to clipboard

Default is false.

Link copied to clipboard

Sets the environment to be used by GooglePay. Should be either WalletConstants.ENVIRONMENT_TEST or WalletConstants.ENVIRONMENT_PRODUCTION.

Link copied to clipboard

Set the merchant account to be put in the payment token from Google to Adyen.

Link copied to clipboard

Sets the information about the merchant requesting the payment.

Link copied to clipboard

Sets the required shipping address details.

Link copied to clipboard

Set to true if you require a shipping address.

Link copied to clipboard
Link copied to clipboard

Sets the status of the total price used.