Rev 313 | Rev 318 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 313 | Rev 314 | ||
|---|---|---|---|
| Line 295... | Line 295... | ||
| 295 | }
|
295 | }
|
| 296 | }
|
296 | }
|
| 297 | }
|
297 | }
|
| 298 | if (adicionar) { |
298 | if (adicionar) { |
| 299 | CartaoDTO cartao = new CartaoDTO(); |
299 | CartaoDTO cartao = new CartaoDTO(); |
| 300 | cartao.setBandeira(StringUtil.setarUpperCaseComTrim(dadosSeparados[5])); |
- | |
| - | 300 | cartao.setBandeira(StringUtil.setarUpperCaseComTrim(dadosSeparados[6])); |
|
| 301 | FormaPagamento formaPagamento = null; |
301 | FormaPagamento formaPagamento = null; |
| 302 | String bandeira = StringUtil.setarUpperCaseComTrim(dadosSeparados[4]); |
302 | String bandeira = StringUtil.setarUpperCaseComTrim(dadosSeparados[4]); |
| 303 | String tipoCartao = null; |
303 | String tipoCartao = null; |
| 304 | if (bandeira.equals("DÉBITO") || bandeira.equals("DéBITO")) { |
304 | if (bandeira.equals("DÉBITO") || bandeira.equals("DéBITO")) { |
| 305 | tipoCartao = TipoCartao.DEBITO.getValor(); |
305 | tipoCartao = TipoCartao.DEBITO.getValor(); |