com.fincatto.documentofiscal.cte400.classes.os.CTeOSInfoCTeNormalInfoGTVe 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.ElementList;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
import java.util.List;
@Root(name = "infGTVe")
@Namespace(reference = CTeConfig.NAMESPACE)
public class CTeOSInfoCTeNormalInfoGTVe extends DFBase {
private static final long serialVersionUID = -7819895569994558919L;
@Element(name = "chCTe")
private String chaveGTVe;
@ElementList(name = "Comp", inline = true)
private List comp;
public String getChaveGTVe() {
return chaveGTVe;
}
public void setChaveGTVe(final String chaveGTVe) {
DFStringValidador.exatamente44N(chaveGTVe, "Chave de acesso da Guia de Transporte de Valores Eletrônica (GTVe)");
this.chaveGTVe = chaveGTVe;
}
public List getComp() {
return comp;
}
public void setComp(final List comp) {
this.comp = comp;
}
}