WalletButtonsConfiguration

class WalletButtonsConfiguration(val willDisplayExternally: Boolean = false, val visibility: PaymentSheet.WalletButtonsConfiguration.Visibility = Visibility(), val buttonThemes: PaymentSheet.ButtonThemes = ButtonThemes()) : Parcelable

Configuration for wallet buttons

Constructors

Link copied to clipboard
constructor(willDisplayExternally: Boolean = false, visibility: PaymentSheet.WalletButtonsConfiguration.Visibility = Visibility(), buttonThemes: PaymentSheet.ButtonThemes = ButtonThemes())

Types

Link copied to clipboard

Available visibility options for a wallet within Payment Element

Link copied to clipboard

Definition for a wallet available for use with Payment Element.

Link copied to clipboard

Available visibility options within the wallet buttons view

Properties

Link copied to clipboard

Theme configuration for wallet buttons

Link copied to clipboard

Controls visibility of wallets within Payment Element and WalletButtons.

Link copied to clipboard

Indicates the WalletButtons API will be used. This helps ensure the Payment Element is not initialized with a displayed wallet option as the default payment option.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)