Subversion Repositories Integrator Subversion

Rev

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>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/&gt;
 *         &lt;choice&gt;
 *           &lt;element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/&gt;
 *           &lt;element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/&gt;
 *         &lt;/choice&gt;
 *         &lt;element name="xNome"&gt;
 *           &lt;simpleType&gt;
 *             &lt;restriction base="{http://www.portalfiscal.inf.br/nfe}TString"&gt;
 *               &lt;maxLength value="60"/&gt;
 *               &lt;minLength value="2"/&gt;
 *             &lt;/restriction&gt;
 *           &lt;/simpleType&gt;
 *         &lt;/element&gt;
 *         &lt;element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/&gt;
 *         &lt;element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
 *         &lt;element name="tpNF"&gt;
 *           &lt;simpleType&gt;
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *               &lt;whiteSpace value="preserve"/&gt;
 *               &lt;enumeration value="0"/&gt;
 *               &lt;enumeration value="1"/&gt;
 *             &lt;/restriction&gt;
 *           &lt;/simpleType&gt;
 *         &lt;/element&gt;
 *         &lt;element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/&gt;
 *         &lt;element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/&gt;
 *         &lt;element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/&gt;
 *         &lt;element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt"/&gt;
 *         &lt;element name="cSitNFe"&gt;
 *           &lt;simpleType&gt;
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *               &lt;whiteSpace value="preserve"/&gt;
 *               &lt;enumeration value="1"/&gt;
 *               &lt;enumeration value="2"/&gt;
 *               &lt;enumeration value="3"/&gt;
 *             &lt;/restriction&gt;
 *           &lt;/simpleType&gt;
 *         &lt;/element&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerResNFe" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </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;
    }

}