Rev 282 | Rev 296 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 282 | Rev 294 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | import java.util.List; |
4 | import java.util.List; |
| - | 5 | ||
| - | 6 | import br.com.ec.core.util.VerificadorUtil; |
|
| 5 | 7 | ||
| 6 | public class ConciliacaoBancariaDTO { |
8 | public class ConciliacaoBancariaDTO { |
| 7 | 9 | ||
| 8 | private VigenciaDTO vigenciaDTO; |
10 | private VigenciaDTO vigenciaDTO; |
| 9 | 11 | ||
| Line 54... | Line 56... | ||
| 54 | public void setExtratosDTO(List<ConciliacaoBancariaLancamentoExtratoBancarioDTO> extratosDTO) {
|
56 | public void setExtratosDTO(List<ConciliacaoBancariaLancamentoExtratoBancarioDTO> extratosDTO) {
|
| 55 | this.extratosDTO = extratosDTO;
|
57 | this.extratosDTO = extratosDTO;
|
| 56 | }
|
58 | }
|
| 57 | */
|
59 | */
|
| 58 | public Double valorTotal() { |
60 | public Double valorTotal() { |
| 59 | return 0.0; |
- | |
| - | 61 | Double valorFinal = new Double(0.0); |
|
| - | 62 | if (VerificadorUtil.naoEstaNulo(getLancamentosDTO())) { |
|
| - | 63 | for (ConciliacaoBancariaLancamentoDTO lancamento : getLancamentosDTO()) { |
|
| - | 64 | valorFinal = valorFinal + lancamento.valorDiferencaTotal(); |
|
| - | 65 | }
|
|
| - | 66 | }
|
|
| - | 67 | return valorFinal; |
|
| 60 | }
|
68 | }
|
| 61 | 69 | ||
| 62 | }
|
70 | }
|