Passbook.PassStructure (Passbook v0.1.10)

View Source

Keys that define the structure of the pass.

These keys are used for all pass styles and partition the fields into the various parts of the pass.

Summary

Types

field()

@type field() :: map()

t()

@type t() :: %Passbook.PassStructure{
  auxiliary_fields: [Passbook.LowerLevel.Field.t()] | nil,
  back_fields: [Passbook.LowerLevel.Field.t()] | nil,
  header_fields: [Passbook.LowerLevel.Field.t()] | nil,
  primary_fields: [Passbook.LowerLevel.Field.t()] | nil,
  secondary_fields: [Passbook.LowerLevel.Field.t()] | nil,
  transit_type: transit_type() | nil
}

transit_type()

@type transit_type() :: :air | :boat | :bus | :generic | :train