Generic template

The pass face template can contain a maximum of three rows and three fields per row to build the card template. The classTemplateInfo field in the Generic Class is responsible for showing the text fields on the pass face.

Additionally, the template has a number of configurable attributes that can be set on the pass face:

  • Barcode
  • QR code
  • Number
  • Hero image

The pass details template contains a list of text modules, containing a header and a body for each row. To add text to the pass details, set the values in the textModulesData objects in the Generic Class.

Use the following tool to customize your generic pass and refer to the code snippets below.