GroupingInfo
JSON representation |
{
"sortIndex": integer,
"groupingId": string
} |
Fields |
sortIndex |
integer
Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined.
|
groupingId |
string
Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed.
|
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 2025-03-13 UTC.
[null,null,["Last updated 2025-03-13 UTC."],[[["JSON representation defines the structure for organizing passes within a digital wallet."],["`sortIndex` is an optional integer field used for ordering passes visually, with lower values appearing first."],["`groupingId` is an optional string field enabling visual grouping of passes, potentially of different types, based on shared ID."]]],["The core content describes a JSON structure for organizing passes. It uses two fields: `sortIndex` (integer) and `groupingId` (string). `sortIndex` determines the display order of passes within a group; lower values appear first, with a default of INT_MAX if unspecified. `groupingId` allows passes with different types to be visually grouped together based on shared IDs. Sorting is undefined for passes with the same `sortIndex`.\n"]]