java.lang.Object | |
↳ | com.google.android.gms.wallet.WalletConstants |
Collection of constant values used by the ClientLibrary.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACTION_ENABLE_WALLET_OPTIMIZATION | Name of an action to use in an IntentFilter for a BroadcastReceiver that is a signal from your application that it uses Wallet, and thus the system should make the appropriate optimizations. | |||||||||
int | ENVIRONMENT_PRODUCTION | Environment constant for running in production with the most stringent application / merchant requirements. | |||||||||
int | ENVIRONMENT_SANDBOX | Environment constant for running in sandbox with relaxed application / merchant requirements. | |||||||||
int | ENVIRONMENT_STRICT_SANDBOX | Environment constant for running in sandbox with more stringent application / merchant requirements. | |||||||||
int | ERROR_CODE_AUTHENTICATION_FAILURE | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_BUYER_ACCOUNT_ERROR | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_INVALID_PARAMETERS | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_INVALID_TRANSACTION | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_MERCHANT_ACCOUNT_ERROR | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_SERVICE_UNAVAILABLE | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_SPENDING_LIMIT_EXCEEDED | Recoverable error. | |||||||||
int | ERROR_CODE_UNKNOWN | Not immediately recoverable error. | |||||||||
int | ERROR_CODE_UNSUPPORTED_API_VERSION | Not immediately recoverable error. | |||||||||
String | EXTRA_ERROR_CODE | Extra for retrieving an error code from the Intent passed to onActivityResult | |||||||||
String | EXTRA_FULL_WALLET | Extra for retrieving a FullWallet from the Intent passed to onActivityResult
|
|||||||||
String | EXTRA_IS_USER_PREAUTHORIZED | Extra for retrieving a boolean indicating if the user has pre-authorized your app or not | |||||||||
String | EXTRA_MASKED_WALLET | Extra for retrieving a MaskedWallet from the Intent passed to onActivityResult
|
|||||||||
int | RESULT_ERROR | Response code passed to onActivityResult in the case of an error | |||||||||
int | THEME_HOLO_DARK | Theme constant passed to the constructor of WalletClient to use Holo Dark theme for
Wallet on Android OS with SDK_INT
>= HONEYCOMB . |
|||||||||
int | THEME_HOLO_LIGHT | Theme constant passed to the constructor of WalletClient to use Holo Light theme for
Wallet on Android OS with SDK_INT
>= HONEYCOMB . |
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Name of an action to use in an IntentFilter for a BroadcastReceiver that is a signal from
your application that it uses Wallet, and thus the system should make the appropriate
optimizations. Example of using the action:
Environment constant for running in production with the most stringent application / merchant requirements.
Environment constant for running in sandbox with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing the Wallet SDK.
Environment constant for running in sandbox with more stringent application / merchant
requirements. This environment is suggested when finishing integration with the Wallet SDK
and imposes the same requirements as ENVIRONMENT_PRODUCTION
.
Not immediately recoverable error.
There was a failure in retrieving an authentication token for the buyer's Google Account.
This could be because Google's AbstractAccountAuthenticator
is not
installed or failed to respond, or could be due to an invalid Google account, or could be
caused by some internal error. Note however that this error will NOT be returned if
authentication failed because of a network error or because the buyer cancelled the
operation.
Not immediately recoverable error. There are problems with the buyer's account (e.g closed account, unsupported country)
Not immediately recoverable error. The request had missing or invalid parameters.
Not immediately recoverable error. loadFullWallet or changeMaskedWallet was called outside the context of a transaction. For example, loadFullWallet was called without a successful call to loadMaskedWallet.
Not immediately recoverable error. There is a problem with the merchant Google Wallet account.
Not immediately recoverable error. The InstantBuy service is temporarily off-line for all requests.
Recoverable error. The payment amount in the request put the buyer over their spending limit. The buyer may still be able to use Google Wallet for a smaller purchase.
Not immediately recoverable error. An unknown type of error has occurred.
Not immediately recoverable error. The server API version of the request is no longer supported. This error is not recoverable and should be treated as fatal.
Extra for retrieving an error code from the Intent passed to onActivityResult
Extra for retrieving a FullWallet
from the Intent passed to onActivityResult
Extra for retrieving a boolean indicating if the user has pre-authorized your app or not
Extra for retrieving a MaskedWallet
from the Intent passed to onActivityResult
Response code passed to onActivityResult in the case of an error
Theme constant passed to the constructor of WalletClient
to use Holo Dark theme for
Wallet on Android OS with SDK_INT
>= HONEYCOMB
.
Theme constant passed to the constructor of WalletClient
to use Holo Light theme for
Wallet on Android OS with SDK_INT
>= HONEYCOMB
.