java.lang.Object |
↳ |
com.google.android.gms.wallet.CreateWalletObjectsRequest.Builder |
Summary
[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(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
Sets the creation mode to use. If the value is SHOW_SAVE_PROMPT
, it means a save
prompt dialog should be shown, with a save button that the user must click before the save
actually happens. If the value is REQUEST_IMMEDIATE_SAVE
it means that when
possible, the save will happen immediately, followed by a confirmation dialog shown to the
user if the save was successful. Note that it is the calling application's responsibility to
ensure that REQUEST_IMMEDIATE_SAVE
is only used if the user has indicated their
intention to actually have the Wallet Object be saved to Android Pay, such as by clicking a
button in the calling application with the label "Save to Android Pay". Sometimes the SHOW_SAVE_PROMPT
mode will still be used by the implementation, even when REQUEST_IMMEDIATE_SAVE
is specified by the caller. For example, if there are multiple
Google accounts on the device, the implementation may still show the save prompt dialog in
order to allow the user to select which account they want saved to.
Parameters |
createMode |
int |
Sets the Gift Card wallet object to be created.
Parameters |
giftCardWalletObject |
GiftCardWalletObject |
Sets the Loyalty wallet object to be created.
Parameters |
loyaltyWalletObject |
LoyaltyWalletObject |
Sets the Offer wallet object to be created.
Parameters |
offerWalletObject |
OfferWalletObject |