com.google.android.gms.wallet.button
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["The Google Pay Button API provides a View to render a dynamic payment button that can be customized."],["You can configure the button's theme, type, and other options using `ButtonOptions`."],["`ButtonConstants` contains a collection of constants used by the PayButton for themes and types."],["Using the API simplifies integrating a payment button into your Android application."]]],["The document defines components for creating dynamic payment buttons. `ButtonConstants` stores constants for `PayButton` configuration. `ButtonTheme` and `ButtonType` enumerate button appearance options. `ButtonOptions` configures the button, built using `ButtonOptions.Builder`. `PayButton` renders a dynamic payment button view based on the `ButtonOptions` provided, allowing for customization of button behavior and presentation within an Android application.\n"]]