-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cria classe NFNotaInfoItemObservacao para observacaoContribuinte e ob…
…servacaoFisco; remove tag obsCont e obsFisco e adiciona a tag obsItem na classe NFNotaInfoItem; ajusta teste da classe NFNotaItemTest (#958) Co-authored-by: Vinicius <[email protected]> Co-authored-by: Diego Fincatto <[email protected]>
- Loading branch information
1 parent
512ecad
commit ba5234b
Showing
3 changed files
with
49 additions
and
24 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
32 changes: 32 additions & 0 deletions
32
src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemObservacao.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,32 @@ | ||
package com.fincatto.documentofiscal.nfe400.classes.nota; | ||
|
||
import org.simpleframework.xml.ElementList; | ||
|
||
import java.util.List; | ||
|
||
public class NFNotaInfoItemObservacao { | ||
|
||
@ElementList(entry = "obsCont", inline = true, required = false) | ||
private List<NFNotaInfoObservacao> observacoesContribuinte; | ||
|
||
@ElementList(entry = "obsFisco", inline = true, required = false) | ||
private List<NFNotaInfoObservacao> observacoesFisco; | ||
|
||
public List<NFNotaInfoObservacao> getObservacoesContribuinte() { | ||
return observacoesContribuinte; | ||
} | ||
|
||
public void setObservacoesContribuinte( | ||
final List<NFNotaInfoObservacao> observacoesContribuinte) { | ||
this.observacoesContribuinte = observacoesContribuinte; | ||
} | ||
|
||
public List<NFNotaInfoObservacao> getObservacoesFisco() { | ||
return observacoesFisco; | ||
} | ||
|
||
public void setObservacoesFisco( | ||
final List<NFNotaInfoObservacao> observacoesFisco) { | ||
this.observacoesFisco = observacoesFisco; | ||
} | ||
} |
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