Builder to create a CreateWalletObjectsRequest.
| CreateWalletObjectsRequest |
build()
|
| CreateWalletObjectsRequest.Builder |
setCreateMode(int createMode)
Sets the creation mode to use.
|
| CreateWalletObjectsRequest.Builder |
setGiftCardWalletObject(GiftCardWalletObject
giftCardWalletObject)
Sets the Gift Card wallet object to be created.
|
| CreateWalletObjectsRequest.Builder |
setLoyaltyWalletObject(LoyaltyWalletObject
loyaltyWalletObject)
Sets the Loyalty wallet object to be created.
|
| CreateWalletObjectsRequest.Builder |
setOfferWalletObject(OfferWalletObject
offerWalletObject)
Sets the Offer wallet object to be created.
|
CreateWalletObjectsRequest
created using the data passed to the Builder.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 Google Pay, such as by
clicking a button in the calling application with the label "Save to Google 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.
Sets the Gift Card wallet object to be created.
Sets the Loyalty wallet object to be created.
Sets the Offer wallet object to be created.