Blame |
Last modification |
View Log
| Download
| RSS feed
package br.com.swconsultoria.nfe.schema.resnfe;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <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="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
* <choice>
* <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
* <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
* </choice>
* <element name="xNome">
* <simpleType>
* <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
* <maxLength value="60"/>
* <minLength value="2"/>
* </restriction>
* </simpleType>
* </element>
* <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/>
* <element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
* <element name="tpNF">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="preserve"/>
* <enumeration value="0"/>
* <enumeration value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
* <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
* <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
* <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt"/>
* <element name="cSitNFe">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <whiteSpace value="preserve"/>
* <enumeration value="1"/>
* <enumeration value="2"/>
* <enumeration value="3"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerResNFe" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType
(XmlAccessType.
FIELD)
@XmlType
(name =
"", propOrder =
{
"chNFe",
"cnpj",
"cpf",
"xNome",
"ie",
"dhEmi",
"tpNF",
"vnf",
"digVal",
"dhRecbto",
"nProt",
"cSitNFe"
})
@XmlRootElement
(name =
"resNFe", namespace =
"http://www.portalfiscal.inf.br/nfe")
public class ResNFe
{
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String chNFe
;
@XmlElement
(name =
"CNPJ", namespace =
"http://www.portalfiscal.inf.br/nfe")
protected String cnpj
;
@XmlElement
(name =
"CPF", namespace =
"http://www.portalfiscal.inf.br/nfe")
protected String cpf
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String xNome
;
@XmlElement
(name =
"IE", namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String ie
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String dhEmi
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String tpNF
;
@XmlElement
(name =
"vNF", namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String vnf
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe")
protected byte[] digVal
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String dhRecbto
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String nProt
;
@XmlElement
(namespace =
"http://www.portalfiscal.inf.br/nfe", required =
true)
protected String cSitNFe
;
@XmlAttribute
(name =
"versao", required =
true)
protected String versao
;
/**
* 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 cnpj.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCNPJ
() {
return cnpj
;
}
/**
* Define o valor da propriedade cnpj.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCNPJ
(String value
) {
this.
cnpj = value
;
}
/**
* Obtém o valor da propriedade cpf.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCPF
() {
return cpf
;
}
/**
* Define o valor da propriedade cpf.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCPF
(String value
) {
this.
cpf = value
;
}
/**
* Obtém o valor da propriedade xNome.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXNome
() {
return xNome
;
}
/**
* Define o valor da propriedade xNome.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXNome
(String value
) {
this.
xNome = value
;
}
/**
* Obtém o valor da propriedade ie.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIE
() {
return ie
;
}
/**
* Define o valor da propriedade ie.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIE
(String value
) {
this.
ie = value
;
}
/**
* Obtém o valor da propriedade dhEmi.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDhEmi
() {
return dhEmi
;
}
/**
* Define o valor da propriedade dhEmi.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDhEmi
(String value
) {
this.
dhEmi = value
;
}
/**
* Obtém o valor da propriedade tpNF.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTpNF
() {
return tpNF
;
}
/**
* Define o valor da propriedade tpNF.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTpNF
(String value
) {
this.
tpNF = value
;
}
/**
* Obtém o valor da propriedade vnf.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVNF
() {
return vnf
;
}
/**
* Define o valor da propriedade vnf.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVNF
(String value
) {
this.
vnf = 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 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 cSitNFe.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCSitNFe
() {
return cSitNFe
;
}
/**
* Define o valor da propriedade cSitNFe.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCSitNFe
(String value
) {
this.
cSitNFe = 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
;
}
}