Ticket

struct Ticket : Codable

Represent an active ticket recived from the backend. Since we are mocking tickets, there is no need for security.

  • Unique identifier for the specific ticket.

    Declaration

    Swift

    let uuid: String
  • The specific time when the ticket expires. Normaly 90 minutes after created.

    Declaration

    Swift

    let expiration: Date