Class TProtNFe

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

public class TProtNFe extends Object
Tipo Protocolo de status resultado do processamento da NF-e

Classe Java de TProtNFe complex type.

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


 <complexType name="TProtNFe">
   <complexContent>
	 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	   <sequence>
		 <element name="infProt">
		   <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="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
				   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
				   <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
				   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
				   <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
				   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
				   <sequence minOccurs="0">
					 <element name="cMsg">
					   <simpleType>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						   <whiteSpace value="preserve"/>
						   <pattern value="[0-9]{1,4}"/>
						 </restriction>
					   </simpleType>
					 </element>
					 <element name="xMsg">
					   <simpleType>
						 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						   <minLength value="1"/>
						   <maxLength value="200"/>
						 </restriction>
					   </simpleType>
					 </element>
				   </sequence>
				 </sequence>
				 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
			   </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}TVerNFe" />
	 </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TProtNFe

      public TProtNFe()
  • Method Details

    • getInfProt

      public TProtNFe.InfProt getInfProt()
      Dados do protocolo de status
      Returns:
      possible object is TProtNFe.InfProt
    • setInfProt

      public void setInfProt(TProtNFe.InfProt value)
      Define o valor da propriedade infProt.
      Parameters:
      value - allowed object is TProtNFe.InfProt
      See Also:
    • 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