WalletButtonsConfiguration
class WalletButtonsConfiguration(val willDisplayExternally: Boolean = false, val walletsToShow: List<String> = emptyList(), val buttonThemes: PaymentSheet.ButtonThemes = ButtonThemes()) : Parcelable
Configuration for wallet buttons
Constructors
Link copied to clipboard
constructor(willDisplayExternally: Boolean = false, walletsToShow: List<String> = emptyList(), buttonThemes: PaymentSheet.ButtonThemes = ButtonThemes())
Properties
Link copied to clipboard
Theme configuration for wallet buttons
Link copied to clipboard
Identifies the list of wallets that can be shown in WalletButtons
. Wallets are identified by their wallet identifier (google_pay, link, shop_pay). An empty list means all wallets will be shown.
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.