Rev 318 | Rev 470 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 318 | Rev 457 | ||
|---|---|---|---|
| Line 855... | Line 855... | ||
| 855 | this.setGenero(TipoGenero.UNISSEX.getValor()); |
855 | this.setGenero(TipoGenero.UNISSEX.getValor()); |
| 856 | }
|
856 | }
|
| 857 | 857 | ||
| 858 | this.setCodigoEAN(StringUtil.retornarApenasNumeros(produtoNota.getProd().getCEAN())); |
858 | this.setCodigoEAN(StringUtil.retornarApenasNumeros(produtoNota.getProd().getCEAN())); |
| 859 | this.setCodigoEANTributado(StringUtil.retornarApenasNumeros(produtoNota.getProd().getCEANTrib())); |
859 | this.setCodigoEANTributado(StringUtil.retornarApenasNumeros(produtoNota.getProd().getCEANTrib())); |
| 860 | if (VerificadorUtil.naoEstaNulo(produtoNota.getProd().getNCM())) { |
- | |
| - | 860 | if (VerificadorUtil.naoEstaNulo(produtoNota.getProd().getNCM())) { |
|
| 861 | this.setCodigoNCM(produtoNota.getProd().getNCM()); |
861 | this.setCodigoNCM(produtoNota.getProd().getNCM()); |
| 862 | }
|
862 | }
|
| 863 | if (VerificadorUtil.naoEstaNulo(produtoNota.getProd().getCEST())) { |
863 | if (VerificadorUtil.naoEstaNulo(produtoNota.getProd().getCEST())) { |
| 864 | this.setCodigoEST(produtoNota.getProd().getCEST()); |
864 | this.setCodigoEST(produtoNota.getProd().getCEST()); |
| 865 | }
|
865 | }
|
| Line 875... | Line 875... | ||
| 875 | }
|
875 | }
|
| 876 | }
|
876 | }
|
| 877 | if (elemento.getDeclaredType().equals(nfce.java.TIpi.class)) { |
877 | if (elemento.getDeclaredType().equals(nfce.java.TIpi.class)) { |
| 878 | nfce.java.TIpi ipi = (nfce.java.TIpi) elemento.getValue(); |
878 | nfce.java.TIpi ipi = (nfce.java.TIpi) elemento.getValue(); |
| 879 | if (VerificadorUtil.naoEstaNulo(ipi.getIPITrib())) { |
879 | if (VerificadorUtil.naoEstaNulo(ipi.getIPITrib())) { |
| 880 | Double aliquotaIPITrib = Double.valueOf(ipi.getIPITrib().getPIPI()); |
- | |
| 881 | if (aliquotaIPITrib > 0.0) { |
- | |
| 882 | this.setAliquotaIPINotaFiscal(aliquotaIPITrib); |
- | |
| - | 880 | if (VerificadorUtil.naoEstaNulo(ipi.getIPITrib().getPIPI())) { |
|
| - | 881 | Double aliquotaIPITrib = Double.valueOf(ipi.getIPITrib().getPIPI()); |
|
| - | 882 | if (aliquotaIPITrib > 0.0) { |
|
| - | 883 | this.setAliquotaIPINotaFiscal(aliquotaIPITrib); |
|
| - | 884 | }
|
|
| 883 | }
|
885 | }
|
| 884 | }
|
886 | }
|
| 885 | }
|
887 | }
|
| 886 | }
|
888 | }
|
| 887 | if (VerificadorUtil.estaNulo(getAliquotaIcms())) { |
889 | if (VerificadorUtil.estaNulo(getAliquotaIcms())) { |