-
-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from Samuel-Oliveira/Desenvolvimento
Desenvolvimento
- Loading branch information
Showing
11 changed files
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ public class ConfiguracoesIniciaisNfe implements ConfiguracoesNfe { | |
private Integer timeout; | ||
private boolean contigenciaSCAN; | ||
private boolean log = true; | ||
private boolean removeAcentos = false; | ||
|
||
// Construtor Singleton | ||
private ConfiguracoesIniciaisNfe() { | ||
|
@@ -55,7 +54,7 @@ public static ConfiguracoesIniciaisNfe iniciaConfiguracoes(Estados estado, Strin | |
String pastaSchemas, Boolean log) { | ||
new ConfiguracoesIniciaisNfe(estado, ambiente, certificado, pastaSchemas, log); | ||
if (log) { | ||
System.out.println("Api Java Nfe Versão 4.00.8 - Samuel Olivera - [email protected]"); | ||
System.out.println("Api Java Nfe Versão 4.00.9 - Samuel Olivera - [email protected]"); | ||
System.out.println("Certificado: " + certificado.getTipo().toUpperCase() + " - " | ||
+ certificado.getNome().toUpperCase() + " - Vencimento: " + certificado.getVencimento()); | ||
System.out.println("Ambiente: " + (ambiente.equals("1") ? "Produção" : "Homologação") + " - Estado: " | ||
|
@@ -195,11 +194,4 @@ public void setTimeout(Integer timeout) { | |
this.timeout = timeout; | ||
} | ||
|
||
public boolean removeAcentos() { | ||
return removeAcentos; | ||
} | ||
|
||
public void setRemoveAcentos(boolean removeAcentos) { | ||
this.removeAcentos = removeAcentos; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,5 +55,4 @@ public interface ConfiguracoesNfe { | |
|
||
Integer getTimeout(); | ||
|
||
boolean removeAcentos(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ public class ConfiguracoesWebNfe implements ConfiguracoesNfe { | |
private Integer timeout; | ||
private boolean contigenciaSCAN; | ||
private boolean log = true; | ||
private boolean removeAcentos = false; | ||
private boolean removeAcentos = true; | ||
|
||
// Construtor Singleton | ||
private ConfiguracoesWebNfe() { | ||
|
@@ -45,7 +45,7 @@ public static ConfiguracoesWebNfe iniciaConfiguracoes(Estados estado, String amb | |
instance.setVersaoNfe(); | ||
instance.setLog(log); | ||
if (log) { | ||
System.out.println("Api Java Nfe Versão 4.00.8 - Samuel Olivera - [email protected]"); | ||
System.out.println("Api Java Nfe Versão 4.00.9 - Samuel Olivera - [email protected]"); | ||
System.out.println("Certificado: " + certificado.getTipo().toUpperCase() + " - " | ||
+ certificado.getNome().toUpperCase() + " - Vencimento: " + certificado.getVencimento()); | ||
System.out.println("Ambiente: " + (ambiente.equals("1") ? "Produção" : "Homologação") + " - Estado: " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters