public interface TicketService
Modifier and Type | Method and Description |
---|---|
default BlockchainTicketIntegrationResult |
integrateBlockchainTickets(List<BlockchainTicket> tickets)
Integrate tickets into Secutix
|
void |
markAsPrinted(List<TicketInfo> tickets,
CatalogIndex pointOfSale)
Deprecated.
|
default void |
markAsPrintedAndUpdateTicketSupport(List<TicketInfo> tickets,
CatalogIndex pointOfSale,
TicketSupportEnum ticketSupport)
Mark the tickets as printed, and the containing shipments as sent if possible
Sets te new ticket support at the same time
|
default CancelledOrInvalidatedTicketResult |
searchCancelledOrInvalidatedTickets(CancelledOrInvalidatedTicketQuery query)
Search invalid or cancelled tickets from a certain date, regardless catalog filters
|
CatalogQueryResult |
searchTicketsByCatalog(CatalogQuery query)
Search tickets according to a catalog query
|
ContactNumberSearchResult |
searchTicketsByContactNumber(ContactNumberQuery query)
Search tickets according to a contact number query (catalog filter is applied, too)
|
FileIdSearchResult |
searchTicketsByFileId(FileIdQuery query)
Search tickets according to a file id query (catalog filter is applied, too)
|
CatalogQueryResult searchTicketsByCatalog(CatalogQuery query) throws SearchException
query
- a catalog querySearchException
default CancelledOrInvalidatedTicketResult searchCancelledOrInvalidatedTickets(CancelledOrInvalidatedTicketQuery query) throws SearchException
SearchException
FileIdSearchResult searchTicketsByFileId(FileIdQuery query) throws SearchException
query
- a file id querySearchException
ContactNumberSearchResult searchTicketsByContactNumber(ContactNumberQuery query) throws SearchException
query
- a contact number querySearchException
@Deprecated void markAsPrinted(List<TicketInfo> tickets, CatalogIndex pointOfSale)
tickets
- the printed ticketsdefault void markAsPrintedAndUpdateTicketSupport(List<TicketInfo> tickets, CatalogIndex pointOfSale, TicketSupportEnum ticketSupport)
tickets
- the printed ticketsdefault BlockchainTicketIntegrationResult integrateBlockchainTickets(List<BlockchainTicket> tickets)
tickets
- the info of the tickets to integrateCopyright © 2021. All rights reserved.