ButtonOptions

public final class ButtonOptions extends Object
implements Parcelable Parcelable

Define configurations for Android Dynamic Button

Nested Class Summary

class ButtonOptions.Builder Builder for building ButtonOptions

Inherited Constant Summary

Field Summary

public static final Creator<ButtonOptions> CREATOR

Public Method Summary

boolean
equals(Object other)
String
getAllowedPaymentMethods()
Return stringified JSON of allowedPaymentMethods
int
getButtonTheme()
Return button theme
int
getButtonType()
Return button type
int
getCornerRadius()
Return corner radius value in dp
int
static ButtonOptions.Builder
newBuilder()
Returns a new builder for building a ButtonOptions.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<ButtonOptions> CREATOR

Public Methods

public boolean equals (Object other)

public String getAllowedPaymentMethods ()

Return stringified JSON of allowedPaymentMethods

public int getButtonTheme ()

Return button theme

public int getButtonType ()

Return button type

public int getCornerRadius ()

Return corner radius value in dp

public int hashCode ()

public static ButtonOptions.Builder newBuilder ()

Returns a new builder for building a ButtonOptions.

public void writeToParcel (Parcel dest, int flags)