Blame |
Last modification |
View Log
| Download
| RSS feed
package br.com.swconsultoria.nfe.schema_4.enviNFe;
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;
/**
* Tipo Protocolo de status resultado do processamento da NF-e
*
* <p>Classe Java de TProtNFe complex type.
*
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
* <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.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>
* </pre>
*
*
*/
@XmlAccessorType
(XmlAccessType.
FIELD)
@XmlType
(name =
"TProtNFe", namespace =
"http://www.portalfiscal.inf.br/nfe", propOrder =
{
"infProt",
"signature"
})
public class TProtNFe
{
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", 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
;
/**
* Obtém o valor da propriedade infProt.
*
* @return
* possible object is
* {@link TProtNFe.InfProt }
*
*/
public TProtNFe.
InfProt getInfProt
() {
return infProt
;
}
/**
* Define o valor da propriedade infProt.
*
* @param value
* allowed object is
* {@link TProtNFe.InfProt }
*
*/
public void setInfProt
(TProtNFe.
InfProt value
) {
this.
infProt = value
;
}
/**
* Obtém o valor da propriedade signature.
*
* @return
* possible object is
* {@link SignatureType }
*
*/
public SignatureType getSignature
() {
return signature
;
}
/**
* Define o valor da propriedade signature.
*
* @param value
* allowed object is
* {@link SignatureType }
*
*/
public void setSignature
(SignatureType value
) {
this.
signature = value
;
}
/**
* 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
;
}
/**
* <p>Classe Java de anonymous complex type.
*
* <p>O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
*
* <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.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>
* </pre>
*
*
*/
@XmlAccessorType
(XmlAccessType.
FIELD)
@XmlType
(name =
"", propOrder =
{
"tpAmb",
"verAplic",
"chNFe",
"dhRecbto",
"nProt",
"digVal",
"cStat",
"xMotivo",
"cMsg",
"xMsg"
})
public static class InfProt
{
@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 chNFe
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String dhRecbto
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe")
protected String nProt
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe")
protected byte[] digVal
;
@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 String cMsg
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe")
protected String xMsg
;
@XmlAttribute
(name =
"Id")
@XmlJavaTypeAdapter
(CollapsedStringAdapter.
class)
@XmlID
@XmlSchemaType
(name =
"ID")
protected String id
;
/**
* 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 chNFe.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChNFe
() {
return chNFe
;
}
/**
* Define o valor da propriedade chNFe.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChNFe
(String value
) {
this.
chNFe = value
;
}
/**
* Obtém o valor da propriedade dhRecbto.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDhRecbto
() {
return dhRecbto
;
}
/**
* Define o valor da propriedade dhRecbto.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDhRecbto
(String value
) {
this.
dhRecbto = value
;
}
/**
* Obtém o valor da propriedade nProt.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNProt
() {
return nProt
;
}
/**
* Define o valor da propriedade nProt.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNProt
(String value
) {
this.
nProt = value
;
}
/**
* Obtém o valor da propriedade digVal.
*
* @return
* possible object is
* byte[]
*/
public byte[] getDigVal
() {
return digVal
;
}
/**
* Define o valor da propriedade digVal.
*
* @param value
* allowed object is
* byte[]
*/
public void setDigVal
(byte[] value
) {
this.
digVal = 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
;
}
/**
* Obtém o valor da propriedade cMsg.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCMsg
() {
return cMsg
;
}
/**
* Define o valor da propriedade cMsg.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCMsg
(String value
) {
this.
cMsg = value
;
}
/**
* Obtém o valor da propriedade xMsg.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXMsg
() {
return xMsg
;
}
/**
* Define o valor da propriedade xMsg.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXMsg
(String value
) {
this.
xMsg = value
;
}
/**
* Obtém o valor da propriedade id.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId
() {
return id
;
}
/**
* Define o valor da propriedade id.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId
(String value
) {
this.
id = value
;
}
}
}