//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.05.03 at 05:21:27 PM BRT
//
package br.com.caelum.stella.nfe.xsd.recepcao;
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.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Tipo Protocolo de status resultado do processamento da NF-e
*
* <p>Java class for TProtNFe complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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.w3.org/2001/XMLSchema}dateTime"/>
* <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>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TProtNFe", propOrder = {
"infProt",
"signature"
})
public class TProtNFe {
@XmlElement(required = true)
protected TProtNFe.InfProt infProt;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected SignatureType signature;
@XmlAttribute(name = "versao", required = true)
protected String versao;
/**
* Gets the value of the infProt property.
*
* @return
* possible object is
* {@link TProtNFe.InfProt }
*
*/
public TProtNFe.InfProt getInfProt() {
return infProt;
}
/**
* Sets the value of the infProt property.
*
* @param value
* allowed object is
* {@link TProtNFe.InfProt }
*
*/
public void setInfProt(TProtNFe.InfProt value) {
this.infProt = value;
}
/**
* Gets the value of the signature property.
*
* @return
* possible object is
* {@link SignatureType }
*
*/
public SignatureType getSignature() {
return signature;
}
/**
* Sets the value of the signature property.
*
* @param value
* allowed object is
* {@link SignatureType }
*
*/
public void setSignature(SignatureType value) {
this.signature = value;
}
/**
* Gets the value of the versao property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersao() {
return versao;
}
/**
* Sets the value of the versao property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersao(String value) {
this.versao = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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.w3.org/2001/XMLSchema}dateTime"/>
* <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>
* <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tpAmb",
"verAplic",
"chNFe",
"dhRecbto",
"nProt",
"digVal",
"cStat",
"xMotivo"
})
public static class InfProt {
@XmlElement(required = true)
protected String tpAmb;
@XmlElement(required = true)
protected String verAplic;
@XmlElement(required = true)
protected String chNFe;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dhRecbto;
protected String nProt;
protected byte[] digVal;
@XmlElement(required = true)
protected String cStat;
@XmlElement(required = true)
protected String xMotivo;
@XmlAttribute(name = "Id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the tpAmb property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTpAmb() {
return tpAmb;
}
/**
* Sets the value of the tpAmb property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTpAmb(String value) {
this.tpAmb = value;
}
/**
* Gets the value of the verAplic property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVerAplic() {
return verAplic;
}
/**
* Sets the value of the verAplic property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVerAplic(String value) {
this.verAplic = value;
}
/**
* Gets the value of the chNFe property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChNFe() {
return chNFe;
}
/**
* Sets the value of the chNFe property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChNFe(String value) {
this.chNFe = value;
}
/**
* Gets the value of the dhRecbto property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDhRecbto() {
return dhRecbto;
}
/**
* Sets the value of the dhRecbto property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDhRecbto(XMLGregorianCalendar value) {
this.dhRecbto = value;
}
/**
* Gets the value of the nProt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNProt() {
return nProt;
}
/**
* Sets the value of the nProt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNProt(String value) {
this.nProt = value;
}
/**
* Gets the value of the digVal property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getDigVal() {
return digVal;
}
/**
* Sets the value of the digVal property.
*
* @param value
* allowed object is
* byte[]
*/
public void setDigVal(byte[] value) {
this.digVal = value;
}
/**
* Gets the value of the cStat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCStat() {
return cStat;
}
/**
* Sets the value of the cStat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCStat(String value) {
this.cStat = value;
}
/**
* Gets the value of the xMotivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXMotivo() {
return xMotivo;
}
/**
* Sets the value of the xMotivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXMotivo(String value) {
this.xMotivo = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}
}