ButtonOptions.Builder

public final class ButtonOptions.Builder extends Object

Builder for building ButtonOptions.

Public Method Summary

ButtonOptions
build()
The build function for ButtonOptions
ButtonOptions.Builder
setAllowedPaymentMethods(String allowedPaymentMethods)
Set allowed payment methods for ButtonOptions
ButtonOptions.Builder
setButtonTheme(int buttonTheme)
Set button theme for ButtonOptions
ButtonOptions.Builder
setButtonType(int buttonType)
Set button type for ButtonOptions
ButtonOptions.Builder
setCornerRadius(int cornerRadius)
Set corner radius in px for ButtonOptions

Inherited Method Summary

Public Methods

public ButtonOptions build ()

The build function for ButtonOptions

public ButtonOptions.Builder setAllowedPaymentMethods (String allowedPaymentMethods)

Set allowed payment methods for ButtonOptions

public ButtonOptions.Builder setButtonTheme (int buttonTheme)

Set button theme for ButtonOptions

public ButtonOptions.Builder setButtonType (int buttonType)

Set button type for ButtonOptions

public ButtonOptions.Builder setCornerRadius (int cornerRadius)

Set corner radius in px for ButtonOptions