source: bus-n-go-do-5ta-faza/src/main/java/mk/ukim/finki/busngo/service/KaznaZaRegistriranService.java

Last change on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 594 bytes
Line 
1package mk.ukim.finki.busngo.service;
2
3import mk.ukim.finki.busngo.model.entities.Kazna;
4import mk.ukim.finki.busngo.model.entities.Kaznazaregistriran;
5import mk.ukim.finki.busngo.model.exceptions.UserShouldNotBeTicketedException;
6
7import java.util.List;
8
9public interface KaznaZaRegistriranService {
10 List<Kaznazaregistriran> findAllByPatnik(String email);
11
12 Kaznazaregistriran create(Long kontrolaId, String dokument, Double iznos, Long patnik, String email) throws UserShouldNotBeTicketedException;
13 Kaznazaregistriran pay(Long kaznaId);
14 Kaznazaregistriran findById(Long id);
15}
Note: See TracBrowser for help on using the repository browser.