Page Summary
-
Wallet.WalletOptions.Builder is used to build wallet options.
-
The builder has methods to set the wallet environment and theme.
-
The
useGoogleWalletmethod is deprecated as Google Wallet is being removed. -
The
build()method creates the Wallet.WalletOptions from the builder.
Wallet builder.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| Wallet.WalletOptions |
build()
Building walletOptions from the builder
|
| Wallet.WalletOptions.Builder |
setEnvironment(int environment)
Setting wallet environment
|
| Wallet.WalletOptions.Builder |
setTheme(int theme)
Setting wallet theme
|
| Wallet.WalletOptions.Builder |
useGoogleWallet()
This method is deprecated. Google Wallet is deprecated and will be
removed.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public Wallet.WalletOptions build ()
Building walletOptions from the builder
public Wallet.WalletOptions.Builder setEnvironment (int environment)
Setting wallet environment
public Wallet.WalletOptions.Builder setTheme (int theme)
Setting wallet theme
public Wallet.WalletOptions.Builder useGoogleWallet ()
This method is deprecated.
Google Wallet is deprecated and will be removed.
Indicates that Google Wallet branding and features will be used instead of Google Pay.
If this method is not called, it is assumed the app will be using Google Pay branding and features.