Ticket and transaction classes coded.