com.fincatto.documentofiscal.nfe400.classes.NFProtocolo 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;
import com.fincatto.documentofiscal.nfe400.classes.nota.assinatura.NFSignature;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
import com.fincatto.documentofiscal.DFBase;
@Root(name = "protNFe")
public class NFProtocolo extends DFBase {
private static final long serialVersionUID = -784305871769382618L;
@Attribute(name = "versao", required = false)
private String versao;
@Element(name = "infProt")
private NFProtocoloInfo protocoloInfo;
@Element(name = "Signature", required = false)
private NFSignature assinatura;
public void setVersao(final String versao) {
this.versao = versao;
}
public void setProtocoloInfo(final NFProtocoloInfo protocoloInfo) {
this.protocoloInfo = protocoloInfo;
}
public NFProtocoloInfo getProtocoloInfo() {
return this.protocoloInfo;
}
public String getVersao() {
return this.versao;
}
public NFSignature getAssinatura() {
return assinatura;
}
public void setAssinatura(NFSignature assinatura) {
this.assinatura = assinatura;
}
}