![JAR search and dependency download from the Maven repository](/logo.png)
com.fincatto.documentofiscal.cte300.classes.nota.CTeNotaInfoCTeAnulacao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nfe Show documentation
Show all versions of nfe Show documentation
Biblioteca de comunicacao de nota fiscal eletronica brasileira
package com.fincatto.documentofiscal.cte300.classes.nota;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
import java.time.LocalDate;
/**
* @author Caio
* @info Detalhamento do CT-e do tipo Anulação
*/
@Root(name = "infCteAnu")
@Namespace(reference = "http://www.portalfiscal.inf.br/cte")
public class CTeNotaInfoCTeAnulacao extends DFBase {
private static final long serialVersionUID = -8393627804759742007L;
@Element(name = "chCte")
private String chave;
@Element(name = "dEmi")
private LocalDate dataEmissao;
public CTeNotaInfoCTeAnulacao() {
this.chave = null;
this.dataEmissao = null;
}
public String getChave() {
return this.chave;
}
/**
* Chave de acesso do CT-e original a ser anulado e substituído
*/
public void setChave(final String chave) {
DFStringValidador.exatamente44N(chave, "Chave de acesso do CT-e original a ser anulado e substituído");
this.chave = chave;
}
public LocalDate getDataEmissao() {
return this.dataEmissao;
}
/**
* Data de emissão da declaração do tomador não contribuinte do ICMS
*/
public void setDataEmissao(final LocalDate dataEmissao) {
this.dataEmissao = dataEmissao;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy