Last change
on this file since bcb4acc was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago |
fix
|
-
Property mode
set to
100644
|
File size:
571 bytes
|
Line | |
---|
1 | package com.example.moviezone.service;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.*;
|
---|
4 |
|
---|
5 | import java.time.LocalDate;
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public interface TicketService {
|
---|
9 | List<Ticket> findAllTickets();
|
---|
10 | List<Ticket> findAllByCustomer(Customer customer);
|
---|
11 | Ticket saveWithDiscount(LocalDate date, Customer customer, Projection projection, Discount discount, Seat seat);
|
---|
12 | Ticket saveWithout(LocalDate date,Customer customer,Projection projection,Seat seat);
|
---|
13 | Ticket save(long price,Customer customer);
|
---|
14 | Integer priceForTicket(int id);
|
---|
15 | void delete(int id);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.