Subversion Repositories Integrator Subversion

Rev

Rev 689 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 689 Rev 710
Line 4... Line 4...
4
4
5
import br.com.ec.core.generic.GenericService;
5
import br.com.ec.core.generic.GenericService;
6
import br.com.ec.domain.dto.CashbackDTO;
6
import br.com.ec.domain.dto.CashbackDTO;
7
import br.com.ec.domain.dto.ParametrosVendaDTO;
7
import br.com.ec.domain.dto.ParametrosVendaDTO;
8
import br.com.ec.domain.model.Cashback;
8
import br.com.ec.domain.model.Cashback;
9
import br.com.ec.domain.model.Venda;
-
 
10
9
11
public interface CashbackService extends GenericService<Cashback> {
10
public interface CashbackService extends GenericService<Cashback> {
12
11
13
        List<CashbackDTO> consultarCashbackCliente(Long sequencialCliente);
12
        List<CashbackDTO> consultarCashbackCliente(Long sequencialCliente);
14
       
-
 
-
 
13
15
        Double consultarSaldoCliente(Long sequencialCliente);
14
        Double consultarSaldoCliente(Long sequencialCliente);
16
15
17
        void gerarCashback(ParametrosVendaDTO parametrosVendaDTO, Venda venda);
-
 
18
       
-
 
19
        void utilizarCashback(Venda venda, Double valor);
-
 
20
       
-
 
-
 
16
        void gerarCashback(ParametrosVendaDTO parametrosVendaDTO, Long sequencialVenda);
-
 
17
-
 
18
        void utilizarCashback(Long sequencialVenda, Long sequencialCliente, Double valorCashback);
-
 
19
21
        void excluirCashbackVenda(Long sequencialVenda);
20
        void excluirCashbackVenda(Long sequencialVenda);
22
       
-
 
-
 
21
23
}
22
}