Class TRetEvento

java.lang.Object
systextil.integracao.xml.nfe.TRetEvento

public class TRetEvento extends Object
Tipo retorno do Evento

Classe Java de TRetEvento complex type.

O seguinte fragmento do esquema especifica o conteudo esperado contido dentro desta classe.

 <complexType name="TRetEvento">
   <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
                 <element name="infEvento">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <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="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" minOccurs="0"/>
                                   <element name="tpEvento" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <pattern value="[0-9]{6}"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xEvento" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
                                                 <minLength value="5"/>
                                                 <maxLength value="60"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="nSeqEvento" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <pattern value="[1-9][0-9]{0,1}"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <choice minOccurs="0">
                                         <element name="CNPJDest" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
                                         <element name="CPFDest" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
                                   </choice>
                                   <element name="emailDest" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="60"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="dhRegEvento" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
                                   <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
                                 </sequence>
                                 <attribute name="Id">
                                   <simpleType>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
                                           <pattern value="ID[0-9]{15}"/>
                                         </restriction>
                                   </simpleType>
                                 </attribute>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
           </sequence>
           <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TRetVerEvento" />
         </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TRetEvento

      public TRetEvento()
  • Method Details

    • getInfEvento

      public TRetEvento.InfEvento getInfEvento()
      Obtem o valor da propriedade infEvento.
      Returns:
      possible object is TRetEvento.InfEvento
    • setInfEvento

      public void setInfEvento(TRetEvento.InfEvento value)
      Define o valor da propriedade infEvento.
      Parameters:
      value - allowed object is TRetEvento.InfEvento
    • getSignature

      public SignatureType getSignature()
      Obtem o valor da propriedade signature.
      Returns:
      possible object is SignatureType
    • setSignature

      public void setSignature(SignatureType value)
      Define o valor da propriedade signature.
      Parameters:
      value - allowed object is SignatureType
    • getVersao

      public String getVersao()
      Obtem o valor da propriedade versao.
      Returns:
      possible object is String
    • setVersao

      public void setVersao(String value)
      Define o valor da propriedade versao.
      Parameters:
      value - allowed object is String