Rev 685 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 685 | Rev 689 | ||
|---|---|---|---|
| Line 3... | Line 3... | ||
| 3 | import java.util.List; |
3 | import java.util.List; |
| 4 | 4 | ||
| 5 | import br.com.ec.core.generic.GenericRepository; |
5 | import br.com.ec.core.generic.GenericRepository; |
| 6 | import br.com.ec.domain.dto.CashbackDTO; |
6 | import br.com.ec.domain.dto.CashbackDTO; |
| 7 | import br.com.ec.domain.model.Cashback; |
7 | import br.com.ec.domain.model.Cashback; |
| 8 | import br.com.ec.domain.model.Venda; |
- | |
| 9 | 8 | ||
| 10 | public interface CashbackRepository extends GenericRepository<Cashback> { |
9 | public interface CashbackRepository extends GenericRepository<Cashback> { |
| 11 | 10 | ||
| 12 | List<CashbackDTO> consultarCashbackCliente(Long sequencialCliente); |
11 | List<CashbackDTO> consultarCashbackCliente(Long sequencialCliente); |
| 13 | 12 | ||
| 14 | Double consultarSaldoCliente(Long sequencialCliente, String tipoCashback); |
13 | Double consultarSaldoCliente(Long sequencialCliente, String tipoCashback); |
| 15 | 14 | ||
| 16 | void gerarCashback(Venda venda); |
- | |
| 17 | - | ||
| 18 | void utilizarCashback(CashbackDTO cashbackDTO); |
- | |
| - | 15 | void excluirCashbackVenda(Long sequencialVenda); |
|
| 19 | 16 | ||
| 20 | }
|
17 | }
|