-
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.
Corrigido PR da averbacao de exportacao.
- Loading branch information
Showing
4 changed files
with
74 additions
and
75 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
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
123 changes: 61 additions & 62 deletions
123
...umentofiscal/nfe400/classes/evento/averbacaoexportacao/NFInfoItemAverbacaoExportacao.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 |
---|---|---|
@@ -1,92 +1,91 @@ | ||
package com.fincatto.documentofiscal.nfe400.classes.evento.averbacaoexportacao; | ||
|
||
import java.math.BigDecimal; | ||
import java.time.ZonedDateTime; | ||
|
||
import com.fincatto.documentofiscal.DFBase; | ||
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador; | ||
import org.simpleframework.xml.Element; | ||
|
||
import com.fincatto.documentofiscal.DFBase; | ||
import com.fincatto.documentofiscal.validadores.BigDecimalValidador; | ||
import java.math.BigDecimal; | ||
import java.time.ZonedDateTime; | ||
|
||
public class NFInfoItemAverbacaoExportacao extends DFBase { | ||
|
||
private static final long serialVersionUID = 8935624336087331066L; | ||
private static final long serialVersionUID = 8935624336087331066L; | ||
|
||
@Element(name = "dhEmbarque") | ||
private ZonedDateTime dataHoraEmbarque; | ||
@Element(name = "dhEmbarque") | ||
private ZonedDateTime dataHoraEmbarque; | ||
|
||
@Element(name = "dhAverbacao") | ||
private ZonedDateTime dataHoraAverbacao; | ||
@Element(name = "dhAverbacao") | ||
private ZonedDateTime dataHoraAverbacao; | ||
|
||
@Element(name = "nDue") | ||
private String numeroDue; | ||
@Element(name = "nDue") | ||
private String numeroDue; | ||
|
||
@Element(name = "nItem") | ||
private Integer numeroItemNFe; | ||
@Element(name = "nItem") | ||
private Integer numeroItemNFe; | ||
|
||
@Element(name = "nItemDue") | ||
private Integer numeroItemDue; | ||
@Element(name = "nItemDue") | ||
private Integer numeroItemDue; | ||
|
||
@Element(name = "qItem") | ||
private String quantidadeAverbada; | ||
@Element(name = "qItem") | ||
private String quantidadeAverbada; | ||
|
||
@Element(name = "motAlteracao") | ||
private Integer motivoAlteracao; | ||
@Element(name = "motAlteracao") | ||
private Integer motivoAlteracao; | ||
|
||
public ZonedDateTime getDataHoraEmbarque() { | ||
return dataHoraEmbarque; | ||
} | ||
public ZonedDateTime getDataHoraEmbarque() { | ||
return dataHoraEmbarque; | ||
} | ||
|
||
public void setDataHoraEmbarque(ZonedDateTime dataHoraEmbarque) { | ||
this.dataHoraEmbarque = dataHoraEmbarque; | ||
} | ||
public void setDataHoraEmbarque(ZonedDateTime dataHoraEmbarque) { | ||
this.dataHoraEmbarque = dataHoraEmbarque; | ||
} | ||
|
||
public ZonedDateTime getDataHoraAverbacao() { | ||
return dataHoraAverbacao; | ||
} | ||
public ZonedDateTime getDataHoraAverbacao() { | ||
return dataHoraAverbacao; | ||
} | ||
|
||
public void setDataHoraAverbacao(ZonedDateTime dataHoraAverbacao) { | ||
this.dataHoraAverbacao = dataHoraAverbacao; | ||
} | ||
public void setDataHoraAverbacao(ZonedDateTime dataHoraAverbacao) { | ||
this.dataHoraAverbacao = dataHoraAverbacao; | ||
} | ||
|
||
public String getNumeroDue() { | ||
return numeroDue; | ||
} | ||
public String getNumeroDue() { | ||
return numeroDue; | ||
} | ||
|
||
public void setNumeroDue(String numeroDue) { | ||
this.numeroDue = numeroDue; | ||
} | ||
public void setNumeroDue(String numeroDue) { | ||
this.numeroDue = numeroDue; | ||
} | ||
|
||
public Integer getNumeroItemNFe() { | ||
return numeroItemNFe; | ||
} | ||
public Integer getNumeroItemNFe() { | ||
return numeroItemNFe; | ||
} | ||
|
||
public void setNumeroItemNFe(Integer numeroItemNFe) { | ||
this.numeroItemNFe = numeroItemNFe; | ||
} | ||
public void setNumeroItemNFe(Integer numeroItemNFe) { | ||
this.numeroItemNFe = numeroItemNFe; | ||
} | ||
|
||
public Integer getNumeroItemDue() { | ||
return numeroItemDue; | ||
} | ||
public Integer getNumeroItemDue() { | ||
return numeroItemDue; | ||
} | ||
|
||
public void setNumeroItemDue(Integer numeroItemDue) { | ||
this.numeroItemDue = numeroItemDue; | ||
} | ||
public void setNumeroItemDue(Integer numeroItemDue) { | ||
this.numeroItemDue = numeroItemDue; | ||
} | ||
|
||
public String getQuantidadeAverbada() { | ||
return quantidadeAverbada; | ||
} | ||
public String getQuantidadeAverbada() { | ||
return quantidadeAverbada; | ||
} | ||
|
||
public void setQuantidadeAverbada(BigDecimal quantidadeAverbada) { | ||
this.quantidadeAverbada = BigDecimalValidador.tamanho15Com4CasasDecimais(quantidadeAverbada, "Quantidade Averbada"); | ||
} | ||
public void setQuantidadeAverbada(BigDecimal quantidadeAverbada) { | ||
this.quantidadeAverbada = DFBigDecimalValidador.tamanho15Com4CasasDecimais(quantidadeAverbada, "Quantidade Averbada"); | ||
} | ||
|
||
public Integer getMotivoAlteracao() { | ||
return motivoAlteracao; | ||
} | ||
public Integer getMotivoAlteracao() { | ||
return motivoAlteracao; | ||
} | ||
|
||
public void setMotivoAlteracao(Integer motivoAlteracao) { | ||
this.motivoAlteracao = motivoAlteracao; | ||
} | ||
public void setMotivoAlteracao(Integer motivoAlteracao) { | ||
this.motivoAlteracao = motivoAlteracao; | ||
} | ||
|
||
} |