getType

public final Ticket.Type getType()

Parameters

type

Specifies the type of the ticket, such as ADULT, CHILD, SENIOR, STUDENT, or OTHER.