WalletObjectsConstants.State
Stay organized with collections
Save and categorize content based on your preferences.
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.
Constant Summary
int |
ACTIVE
|
Object is active and displays in Google Wallet
app. |
int |
COMPLETED
|
Object has been used and displays with other
used and expired objects. |
int |
EXPIRED
|
Wallet Object is expired. |
int |
INACTIVE
|
Object is inactive and hidden from view. |
Constants
public static final int
ACTIVE
Object is active and displays in Google Wallet app.
Constant Value: 1
public static final int
COMPLETED
Object has been used and displays with other used and expired objects.
Constant Value: 2
public static final int
EXPIRED
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.
Constant Value: 4
public static final int
INACTIVE
Object is inactive and hidden from view.
Constant Value: 5
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."],[[["`WalletObjectsConstants.State` determines how a Wallet Object is displayed within the Google Wallet app."],["An object can be in one of four states: `ACTIVE`, `COMPLETED`, `EXPIRED`, or `INACTIVE`, each affecting its visibility and usage."],["`ACTIVE` objects are displayed and usable, while `INACTIVE` objects are hidden from view."],["`COMPLETED` objects are displayed with other used or expired objects, indicating past usage."],["`EXPIRED` objects are no longer valid and may have been created with a limited active timeframe."]]],["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"]]