source: src/main/java/com/example/moviezone/service/TicketService.java@ a8b6e6a

Last change on this file since a8b6e6a was 00fa72f, checked in by DenicaKj <dkorvezir@…>, 22 months ago

Reservation Implemented

  • Property mode set to 100644
File size: 546 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.*;
4
5import java.time.LocalDate;
6import java.util.List;
7
8public 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.