com.fincatto.documentofiscal.cte400.classes.os.CTeOSInfoCTeComplementar 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.cte400.classes.os;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.cte.CTeConfig;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
@Root(name = "infCteComp")
@Namespace(reference = CTeConfig.NAMESPACE)
public class CTeOSInfoCTeComplementar extends DFBase {
private static final long serialVersionUID = 8633547499681692469L;
@Element(name = "chCTe")
private String chave;
public CTeOSInfoCTeComplementar() {
this.chave = null;
}
public String getChave() {
return this.chave;
}
/**
* Chave do CT-e complementado
*/
public void setChave(final String chave) {
DFStringValidador.exatamente44N(chave, "Chave do CT-e complementado");
this.chave = chave;
}
}