Rev | Line | |
---|
[f17f34f] | 1 | package com.example.moviezone.service;
|
---|
| 2 |
|
---|
[00fa72f] | 3 | import com.example.moviezone.model.*;
|
---|
[f17f34f] | 4 |
|
---|
[00fa72f] | 5 | import java.time.LocalDate;
|
---|
[f17f34f] | 6 | import java.util.List;
|
---|
| 7 |
|
---|
| 8 | public interface TicketService {
|
---|
| 9 | List<Ticket> findAllTickets();
|
---|
[1b248e4] | 10 | List<Ticket> findAllByCustomer(Customer customer);
|
---|
[00fa72f] | 11 | Ticket saveWithDiscount(LocalDate date, Customer customer, Projection projection, Discount discount, Seat seat);
|
---|
| 12 | Ticket saveWithout(LocalDate date,Customer customer,Projection projection,Seat seat);
|
---|
[3242ef4] | 13 | Ticket save(long price,Customer customer);
|
---|
[00fa72f] | 14 | Integer priceForTicket(int id);
|
---|
[1e7126f] | 15 | void delete(int id);
|
---|
[f17f34f] | 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.