WalletObjectsConstants.State
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
WalletObjectsConstants.State determines how a Wallet Object displays in the Google Wallet app.
An ACTIVE object is visible in the app, while an INACTIVE object is hidden.
COMPLETED objects have been used and are displayed with other used or expired items.
An EXPIRED object is no longer valid, potentially due to a limited active time.
public static interface WalletObjectsConstants.State
The state of the Wallet Object.
This type is used to determine how a Wallet Object displays in the Google Wallet app. For
example, an inactive object no longer displays in the Google Wallet app.
Object is active and displays in Google Wallet app.
Constant Value:1
public static final intCOMPLETED
Object has been used and displays with other used and expired objects.
Constant Value:2
public static final intEXPIRED
Wallet Object is expired. A wallet object may expire if you created it to be active
only for a limited time. Object is no longer valid. This limited time object has now
expired.
[[["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."],[],["The `WalletObjectsConstants.State` defines how a Wallet Object appears in the Google Wallet app. It specifies four states: `ACTIVE` (visible in the app, value 1), `COMPLETED` (used, grouped with used/expired objects, value 2), `EXPIRED` (no longer valid, value 4), and `INACTIVE` (hidden from view, value 5). These states dictate whether an object is displayed and where it's placed within the app's interface.\n"]]