BuyButtonText | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Constants | Inherited Methods | [Expand All]
public final class

# BuyButtonText

extends Object

java.lang.Object
↳ | com.google.android.gms.wallet.fragment.BuyButtonText

## Class Overview

Options for text displayed on the Wallet buy button.

##### See Also

- `setBuyButtonText(int)`

## Summary

Constants
int | BOOK_NOW | "Book now"
int | BUY_NOW | "Buy now"
int | BUY_WITH_GOOGLE | "Buy with Google"
int | DONATE_WITH_GOOGLE | "Donate with Google"

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Constants

#### public static final int BOOK_NOW

"Book now"

Constant Value: 3 (0x00000003)

#### public static final int BUY_NOW

"Buy now"

Constant Value: 2 (0x00000002)

#### public static final int BUY_WITH_GOOGLE

"Buy with Google"

Constant Value: 1 (0x00000001)

#### public static final int DONATE_WITH_GOOGLE

"Donate with Google"

Constant Value: 4 (0x00000004)