br.com.swconsultoria.nfe.schema.eventoCancSubst.TRetEnvEvento Maven / Gradle / Ivy
Show all versions of java-nfe Show documentation
package br.com.swconsultoria.nfe.schema.eventoCancSubst;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Tipo Retorno de Lote de Envio
*
* Classe Java de TRetEnvEvento complex type.
*
*
O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
*
* <complexType name="TRetEnvEvento">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="idLote">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="preserve"/>
* <pattern value="[0-9]{1,15}"/>
* </restriction>
* </simpleType>
* </element>
* <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
* <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
* <element name="cOrgao" type="{http://www.portalfiscal.inf.br/nfe}TCOrgaoIBGE"/>
* <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
* <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
* <element name="retEvento" type="{http://www.portalfiscal.inf.br/nfe}TRetEvento" maxOccurs="20" minOccurs="0"/>
* </sequence>
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerEnvEvento" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TRetEnvEvento", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = {
"idLote",
"tpAmb",
"verAplic",
"cOrgao",
"cStat",
"xMotivo",
"retEvento"
})
public class TRetEnvEvento {
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String idLote;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String tpAmb;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String verAplic;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String cOrgao;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String cStat;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true)
protected String xMotivo;
@XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe")
protected List retEvento;
@XmlAttribute(name = "versao", required = true)
protected String versao;
/**
* Obtém o valor da propriedade idLote.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdLote() {
return idLote;
}
/**
* Define o valor da propriedade idLote.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdLote(String value) {
this.idLote = value;
}
/**
* Obtém o valor da propriedade tpAmb.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTpAmb() {
return tpAmb;
}
/**
* Define o valor da propriedade tpAmb.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTpAmb(String value) {
this.tpAmb = value;
}
/**
* Obtém o valor da propriedade verAplic.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVerAplic() {
return verAplic;
}
/**
* Define o valor da propriedade verAplic.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVerAplic(String value) {
this.verAplic = value;
}
/**
* Obtém o valor da propriedade cOrgao.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCOrgao() {
return cOrgao;
}
/**
* Define o valor da propriedade cOrgao.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCOrgao(String value) {
this.cOrgao = value;
}
/**
* Obtém o valor da propriedade cStat.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCStat() {
return cStat;
}
/**
* Define o valor da propriedade cStat.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCStat(String value) {
this.cStat = value;
}
/**
* Obtém o valor da propriedade xMotivo.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXMotivo() {
return xMotivo;
}
/**
* Define o valor da propriedade xMotivo.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXMotivo(String value) {
this.xMotivo = value;
}
/**
* Gets the value of the retEvento property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the retEvento property.
*
*
* For example, to add a new item, do as follows:
*
* getRetEvento().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TRetEvento }
*
*
*/
public List getRetEvento() {
if (retEvento == null) {
retEvento = new ArrayList();
}
return this.retEvento;
}
/**
* Obtém o valor da propriedade versao.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersao() {
return versao;
}
/**
* Define o valor da propriedade versao.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersao(String value) {
this.versao = value;
}
}