Skip to content

Commit 3829b2f

Browse files
nielsonjrgracothayrondevfincatto
authored
Ajuste na classe NFNotaInfoIdentificacaoPagAntecipado: tag refNFe deve (#1119)
ser uma lista para entrar em conformidade com NT_2025.002_v1.31 Co-authored-by: Thayron Graco <[email protected]> Co-authored-by: Diego Fincatto <[email protected]>
1 parent fe32abe commit 3829b2f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoIdentificacaoPagAntecipado.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
package com.fincatto.documentofiscal.nfe400.classes.nota;
22

3+
import java.util.List;
4+
5+
import org.simpleframework.xml.ElementList;
6+
37
import com.fincatto.documentofiscal.DFBase;
48

59
/**
@@ -11,13 +15,14 @@ public class NFNotaInfoIdentificacaoPagAntecipado extends DFBase {
1115

1216
private static final long serialVersionUID = -2568396066960857836L;
1317

14-
private String refNFe; // BB02
18+
@ElementList(entry = "refNFe", inline = true)
19+
private List<String> refNFe; // BB02
1520

16-
public String getRefNFe() {
21+
public List<String> getRefNFe() {
1722
return refNFe;
1823
}
1924

20-
public void setRefNFe(String refNFe) {
25+
public void setRefNFe(List<String> refNFe) {
2126
this.refNFe = refNFe;
2227
}
2328

0 commit comments

Comments
 (0)