-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schema e novos Campos - NT2023.004 (#981)
* Implementação de serviço de recepção síncrono do MDF-e (MDFeRecepcaoSinc). Serviços Assíncronos serão desativados na data de 30 de Junho de 2024 conforme versa a NT 2024.001. * Revert "Implementação de serviço de recepção síncrono do MDF-e (MDFeRecepcaoSinc). Serviços Assíncronos serão desativados na data de 30 de Junho de 2024 conforme versa a NT 2024.001." This reverts commit d597f69. * Atualização dos schemas e campos conforme NT2023.004. --------- Co-authored-by: ediva <ediva@emsnote5> Co-authored-by: Walter Portugal <[email protected]>
- Loading branch information
1 parent
e68a200
commit 149283b
Showing
60 changed files
with
18,100 additions
and
72 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
33 changes: 33 additions & 0 deletions
33
src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFTipoDeducaoIcms.java
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.fincatto.documentofiscal.nfe400.classes; | ||
|
||
public enum NFTipoDeducaoIcms { | ||
|
||
NAO_DEDUZ_VALOR_ITEM("0", "Sem Dedu\u00e7\u00e3o do Valor do Item"), | ||
DEDUZ_VALOR_ITEM("1", "Deduz do Valor do Item"); | ||
|
||
private final String codigo; | ||
private final String descricao; | ||
|
||
NFTipoDeducaoIcms(final String codigo, final String descricao) { | ||
this.codigo = codigo; | ||
this.descricao = descricao; | ||
} | ||
|
||
public String getCodigo() { | ||
return this.codigo; | ||
} | ||
|
||
public static NFTipoDeducaoIcms valueOfCodigo(final String codigo) { | ||
for (final NFTipoDeducaoIcms tipo : NFTipoDeducaoIcms.values()) { | ||
if (tipo.getCodigo().equals(codigo)) { | ||
return tipo; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return codigo + " - " + descricao; | ||
} | ||
} |
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
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
Oops, something went wrong.