db/src/models/api_response library
Classes
- AdditionalElements
- might contain a base64 encoded PNG of a railway ticket
- Customer
- the customer the ticket is valid for
- Header
- header image of the ticket
- RefreshData
- the required metadata for a ticket refresh request
- Ticket
- wrapper around the base64 encoded TicketPayload
- TicketCover
- the ticket summary at a glace
- TicketPayload
- the actual payload representing a ticket
- TicketResponse
- TicketTexts
- some text information contained in the ticket
- TrafficAssociation
- represents the traffic association the ticket is valid in
- VerificationImage
- no clue what it's used for - but it's relevant for subscription refresh
Enums
- TicketLayout
- the layout for the ticket