com.fincatto.documentofiscal.nfe310.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.nfe310.classes;
import com.fincatto.documentofiscal.DFBase;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
@Root(name = "protNFe")
public class NFProtocolo extends DFBase {
private static final long serialVersionUID = -784305871769382618L;
@Attribute(name = "versao")
private String versao;
@Element(name = "infProt")
private NFProtocoloInfo protocoloInfo;
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;
}
}