Last change
on this file since ff75720 was 00fa72f, checked in by DenicaKj <dkorvezir@…>, 21 months ago |
Reservation Implemented
|
-
Property mode
set to
100644
|
File size:
546 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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.