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

Functions

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

Sets the environment to be used by Cash App Pay.

Link copied to clipboard

Sets the required return URL that Cash App Pay will redirect to at the end of the transaction.

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

Set if the shopper's account should be stored, when the store payment method switch is not presented to the shopper.

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

Sets if submit button will be visible or not.