Uses of Class
passport.domain.models.events.Ticket
Package
Description
-
Uses of Ticket in passport.domain.contexts.purchases
Modifier and TypeMethodDescriptionSets the ticket to be refunded. -
Uses of Ticket in passport.domain.contexts.purchases.internal
-
Uses of Ticket in passport.domain.contexts.user
-
Uses of Ticket in passport.domain.models.events
Modifier and TypeMethodDescriptionTicket.copy()
Creates a copy of the current ticket.Creates a ticket for the specified number of persons.BoxOffice.ticket()
Creates a ticket with the specified amount of available seats.Modifier and TypeMethodDescriptionvoid
Refunds the specified ticket.boolean
Checks if the ticket is for the same event as another ticket.void
Sells the specified ticket. -
Uses of Ticket in passport.domain.models.users
Modifier and TypeMethodDescriptionvoid
Buys a ticket and adds it to the user's bought tickets.void
User.returnTicket
(Ticket ticket) Returns a ticket and removes it from the user's bought tickets.Modifier and TypeMethodDescriptionUser.withTickets
(List<Ticket> tickets) Sets the tickets for the user. -
Uses of Ticket in passport.infra.placeholders.events