source: src/main/java/com/example/moviezone/service/DiscountService.java@ 1e7126f

Last change on this file since 1e7126f was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago

fix

  • Property mode set to 100644
File size: 348 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.Discount;
4import org.springframework.stereotype.Repository;
5
6import java.time.LocalDate;
7import java.util.List;
8
9
10public interface DiscountService {
11 Discount save(String code, String type, LocalDate validity, Integer percent);
12 List<Discount> getValidDiscounts();
13}
Note: See TracBrowser for help on using the repository browser.