Last change
on this file since bcb4acc was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago |
fix
|
-
Property mode
set to
100644
|
File size:
348 bytes
|
Line | |
---|
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();
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.