View Source Passbook.PassStructure (Passbook v0.1.3)
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.
Link to this section Summary
Link to this section Types
@type field() :: map()
@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 }
@type transit_type() :: :air | :boat | :bus | :generic | :train