Package com.adyen.checkout.googlepay
Class GooglePayButtonStyling
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class GooglePayButtonStyling implements Parcelable
Object to style the Google Pay button. Check the Google docs for more details.
-
-
Field Summary
Fields Modifier and Type Field Description private final GooglePayButtonThemebuttonThemeprivate final GooglePayButtonTypebuttonTypeprivate final IntegercornerRadius
-
Constructor Summary
Constructors Constructor Description GooglePayButtonStyling(GooglePayButtonTheme buttonTheme, GooglePayButtonType buttonType, Integer cornerRadius)
-
Method Summary
Modifier and Type Method Description final GooglePayButtonThemegetButtonTheme()final GooglePayButtonTypegetButtonType()final IntegergetCornerRadius()-
-
Constructor Detail
-
GooglePayButtonStyling
GooglePayButtonStyling(GooglePayButtonTheme buttonTheme, GooglePayButtonType buttonType, Integer cornerRadius)
- Parameters:
buttonTheme- Affects the color scheme of the button.buttonType- Changes the text displayed inside of the button.cornerRadius- Sets the corner radius of the button.
-
-
Method Detail
-
getButtonTheme
final GooglePayButtonTheme getButtonTheme()
-
getButtonType
final GooglePayButtonType getButtonType()
-
getCornerRadius
final Integer getCornerRadius()
-
-
-
-