action walletobjects_walletobjects_genericclass_list { label: "walletobjects.genericclass.list" description: "Returns a list of all generic classes for a given issuer ID." provider: walletobjects method: GET path: "/walletobjects/v1/genericClass" encoding: json input: { type: "object" properties: { issuerId: { type: "string" } maxResults: { type: "integer" } token: { type: "string" } } additionalProperties: false } output: { type: "object" description: "List response which contains the list of all generic classes for a given issuer ID." properties: { pagination: { type: "object" description: "Pagination of the response." properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#pagination\"`." } nextPageToken: { type: "string" description: "Page token to send to fetch the next page." } resultsPerPage: { type: "integer" format: "int32" description: "Number of results returned in this page." } } } resources: { type: "array" description: "Resources corresponding to the list request." items: { type: "object" description: "Generic Class" properties: { callbackOptions: { type: "object" description: "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." properties: { updateRequestUrl: { type: "string" description: "URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables. Deprecated." } url: { type: "string" description: "The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Google-Valuables." } } } classTemplateInfo: { type: "object" description: "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." properties: { cardBarcodeSectionDetails: { type: "object" description: "Specifies extra information to be displayed above and below the barcode." properties: { firstBottomDetail: { type: "object" description: "Optional information to display below the barcode." properties: { fieldSelector: { type: "object" description: "A reference to an existing text-based or image field to display." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } firstTopDetail: { type: "object" description: "Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section." properties: { fieldSelector: { type: "object" description: "A reference to an existing text-based or image field to display." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } secondTopDetail: { type: "object" description: "Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section." properties: { fieldSelector: { type: "object" description: "A reference to an existing text-based or image field to display." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } } } cardTemplateOverride: { type: "object" description: "Override for the card view." properties: { cardRowTemplateInfos: { type: "array" description: "Template information for rows in the card view. At most three rows are allowed to be specified." items: { type: "object" properties: { oneItem: { type: "object" description: "Template for a row containing one item. Exactly one of \"one_item\", \"two_items\", \"three_items\" must be set." properties: { item: { type: "object" description: "The item to be displayed in the row. This item will be automatically centered." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } } } threeItems: { type: "object" description: "Template for a row containing three items. Exactly one of \"one_item\", \"two_items\", \"three_items\" must be set." properties: { endItem: { type: "object" description: "The item to be displayed at the end of the row. This item will be aligned to the right." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } middleItem: { type: "object" description: "The item to be displayed in the middle of the row. This item will be centered between the start and end items." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } startItem: { type: "object" description: "The item to be displayed at the start of the row. This item will be aligned to the left." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } } } twoItems: { type: "object" description: "Template for a row containing two items. Exactly one of \"one_item\", \"two_items\", \"three_items\" must be set." properties: { endItem: { type: "object" description: "The item to be displayed at the end of the row. This item will be aligned to the right." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } startItem: { type: "object" description: "The item to be displayed at the start of the row. This item will be aligned to the left." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } } } } } } } } detailsTemplateOverride: { type: "object" description: "Override for the details view (beneath the card view)." properties: { detailsItemInfos: { type: "array" description: "Information for the \"nth\" item displayed in the details list." items: { type: "object" properties: { item: { type: "object" description: "The item to be displayed in the details list." properties: { firstValue: { type: "object" description: "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } predefinedItem: { type: "string" description: "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set." enum: ["PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "frequentFlyerProgramNameAndNumber", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", "flightNumberAndOperatingFlightNumber"] } secondValue: { type: "object" description: "A reference to a field to display. This may only be populated if the `firstValue` field is populated." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } } } } } } listTemplateOverride: { type: "object" description: "Override for the passes list view." properties: { firstRowOption: { type: "object" description: "Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row." properties: { fieldOption: { type: "object" description: "A reference to the field to be displayed in the first row." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } transitOption: { type: "string" enum: ["TRANSIT_OPTION_UNSPECIFIED", "ORIGIN_AND_DESTINATION_NAMES", "originAndDestinationNames", "ORIGIN_AND_DESTINATION_CODES", "originAndDestinationCodes", "ORIGIN_NAME", "originName"] } } } secondRowOption: { type: "object" description: "A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects." properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } thirdRowOption: { type: "object" description: "A reference to the field to be displayed in the third row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the third row will always display the number of objects in the group. Eg: \"3 passes\"" properties: { fields: { type: "array" description: "If more than one reference is supplied, then the first one that references a non-empty field will be displayed." items: { type: "object" description: "Reference definition to use with field overrides." properties: { dateFormat: { type: "string" description: "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI." enum: ["DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "dateTime", "DATE_ONLY", "dateOnly", "TIME_ONLY", "timeOnly", "DATE_TIME_YEAR", "dateTimeYear", "DATE_YEAR", "dateYear", "YEAR_MONTH", "YEAR_MONTH_DAY"] } fieldPath: { type: "string" description: "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\"." } } } } } } } } } } enableSmartTap: { type: "boolean" description: "Available only to Smart Tap enabled partners. Contact support for additional guidance." } id: { type: "string" description: "Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`." } imageModulesData: { type: "array" description: "Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set." items: { type: "object" properties: { id: { type: "string" description: "The ID associated with an image module. This field is here to enable ease of management of image modules." } mainImage: { type: "object" description: "A 100% width image." properties: { contentDescription: { type: "object" description: "Description of the image used for accessibility." properties: { defaultValue: { type: "object" description: "Contains the string to be displayed if no appropriate translation is available." properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#localizedString\"`." } translatedValues: { type: "array" description: "Contains the translations for the string." items: { type: "object" properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } } } } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#image\"`." } sourceUri: { type: "object" description: "The URI for the image." properties: { description: { type: "string" description: "Additional information about the image, which is unused and retained only for backward compatibility." } localizedDescription: { type: "object" description: "Translated strings for the description, which are unused and retained only for backward compatibility." properties: { defaultValue: { type: "object" description: "Contains the string to be displayed if no appropriate translation is available." properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#localizedString\"`." } translatedValues: { type: "array" description: "Contains the translations for the string." items: { type: "object" properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } } } } uri: { type: "string" description: "The location of the image. URIs must have a scheme." } } } } } } } } linksModuleData: { type: "object" description: "Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object." properties: { uris: { type: "array" description: "The list of URIs." items: { type: "object" properties: { description: { type: "string" description: "The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image." } id: { type: "string" description: "The ID associated with a uri. This field is here to enable ease of management of uris." } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#uri\"`." } localizedDescription: { type: "object" description: "Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens." properties: { defaultValue: { type: "object" description: "Contains the string to be displayed if no appropriate translation is available." properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#localizedString\"`." } translatedValues: { type: "array" description: "Contains the translations for the string." items: { type: "object" properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } } } } uri: { type: "string" description: "The location of a web page, image, or other resource. URIs in the `LinksModuleData` module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme." } } } } } } multipleDevicesAndHoldersAllowedStatus: { type: "string" description: "Identifies whether multiple users and devices will save the same object referencing this class." enum: ["STATUS_UNSPECIFIED", "MULTIPLE_HOLDERS", "multipleHolders", "ONE_USER_ALL_DEVICES", "oneUserAllDevices", "ONE_USER_ONE_DEVICE", "oneUserOneDevice"] } redemptionIssuers: { type: "array" description: "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap." items: { type: "string" format: "int64" } } securityAnimation: { type: "object" description: "Optional information about the security animation. If this is set a security animation will be rendered on pass details." properties: { animationType: { type: "string" description: "Type of animation." enum: ["ANIMATION_UNSPECIFIED", "FOIL_SHIMMER", "foilShimmer"] } } } textModulesData: { type: "array" description: "Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object." items: { type: "object" description: "Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined." properties: { body: { type: "string" description: "The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens." } header: { type: "string" description: "The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens." } id: { type: "string" description: "The ID associated with a text module. This field is here to enable ease of management of text modules." } localizedBody: { type: "object" description: "Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens." properties: { defaultValue: { type: "object" description: "Contains the string to be displayed if no appropriate translation is available." properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#localizedString\"`." } translatedValues: { type: "array" description: "Contains the translations for the string." items: { type: "object" properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } } } } localizedHeader: { type: "object" description: "Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens." properties: { defaultValue: { type: "object" description: "Contains the string to be displayed if no appropriate translation is available." properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#localizedString\"`." } translatedValues: { type: "array" description: "Contains the translations for the string." items: { type: "object" properties: { kind: { type: "string" description: "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`." } language: { type: "string" description: "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\"." } value: { type: "string" description: "The UTF-8 encoded translated string." } } } } } } } } } viewUnlockRequirement: { type: "string" description: "View Unlock Requirement options for the generic pass." enum: ["VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", "UNLOCK_NOT_REQUIRED", "UNLOCK_REQUIRED_TO_VIEW"] } } } } } } }