source:
src/main/java/com/example/moviezone/service/DiscountService.java
Last change on this file was 1e7126f, checked in by , 15 months ago | |
---|---|
|
|
File size: 348 bytes |
Rev | Line | |
---|---|---|
[1e7126f] | 1 | package com.example.moviezone.service; |
2 | ||
3 | import com.example.moviezone.model.Discount; | |
4 | import org.springframework.stereotype.Repository; | |
5 | ||
6 | import java.time.LocalDate; | |
7 | import java.util.List; | |
8 | ||
9 | ||
10 | public interface DiscountService { | |
11 | Discount save(String code, String type, LocalDate validity, Integer percent); | |
12 | List<Discount> getValidDiscounts(); | |
[40935d3] | 13 | } |
Note:
See TracBrowser
for help on using the repository browser.