![JAR search and dependency download from the Maven repository](/logo.png)
com.fincatto.documentofiscal.nfe400.classes.nota.NFNotaInfoCompra 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.nfe400.classes.nota;
import org.simpleframework.xml.Element;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
public class NFNotaInfoCompra extends DFBase {
private static final long serialVersionUID = 6305778041346992962L;
@Element(name = "xNEmp", required = false)
private String notaDeEmpenho;
@Element(name = "xPed", required = false)
private String pedido;
@Element(name = "xCont", required = false)
private String contrato;
public void setNotaDeEmpenho(final String notaDeEmpenho) {
DFStringValidador.tamanho22(notaDeEmpenho, "Nota de Empenho");
this.notaDeEmpenho = notaDeEmpenho;
}
public void setPedido(final String pedido) {
DFStringValidador.tamanho60(pedido, "Pedido");
this.pedido = pedido;
}
public void setContrato(final String contrato) {
DFStringValidador.tamanho60(contrato, "Contrato");
this.contrato = contrato;
}
public String getContrato() {
return this.contrato;
}
public String getNotaDeEmpenho() {
return this.notaDeEmpenho;
}
public String getPedido() {
return this.pedido;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy