WalletObjects
Stay organized with collections
Save and categorize content based on your preferences.
Entry point for Wallet objects functionality.
Public Methods
public abstract void
createWalletObjects
( GoogleApiClient
googleApiClient, CreateWalletObjectsRequest
request, int requestCode)
Launches a UI that allows the user to save a Loyalty Card wallet object to their
Wallet.
Parameters
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eWalletObjects\u003c/code\u003e provides functionality for interacting with Wallet objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecreateWalletObjects\u003c/code\u003e method allows saving Loyalty Card objects to the user's Google Wallet via a user interface.\u003c/p\u003e\n"],["\u003cp\u003eThis method utilizes \u003ccode\u003eGoogleApiClient\u003c/code\u003e, \u003ccode\u003eCreateWalletObjectsRequest\u003c/code\u003e, and a request code for managing the saving process.\u003c/p\u003e\n"]]],[],null,["# WalletObjects\n\npublic interface **WalletObjects** \nEntry point for Wallet objects functionality. \n\n### Public Method Summary\n\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract void | [createWalletObjects](/android/reference/com/google/android/gms/wallet/wobs/WalletObjects#createWalletObjects(com.google.android.gms.common.api.GoogleApiClient,%20com.google.android.gms.wallet.CreateWalletObjectsRequest,%20int))([GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) googleApiClient, [CreateWalletObjectsRequest](/android/reference/com/google/android/gms/wallet/CreateWalletObjectsRequest) request, int requestCode) Launches a UI that allows the user to save a Loyalty Card wallet object to their Wallet. |\n\nPublic Methods\n--------------\n\n#### public abstract void **createWalletObjects** ([GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) googleApiClient, [CreateWalletObjectsRequest](/android/reference/com/google/android/gms/wallet/CreateWalletObjectsRequest) request, int requestCode)\n\nLaunches a UI that allows the user to save a Loyalty Card wallet object to their\nWallet. \n\n##### Parameters\n\n| googleApiClient | An instance of [GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) which uses the Wallet API |\n| request | An instance of [CreateWalletObjectsRequest](/android/reference/com/google/android/gms/wallet/CreateWalletObjectsRequest) which specifies actual objects to create |\n| requestCode | is passed back in [Activity.onActivityResult(int, int, Intent)](//developer.android.com/reference/android/app/Activity.html#onActivityResult(int,%20int,%20android.content.Intent)) where you can check if request succeeded |\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]