io.github.prbrios.leiaute.nfe.classes.evento.envio.EnvEventoEventoInfEvento Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leiaute-nfe Show documentation
Show all versions of leiaute-nfe Show documentation
Pacote de classes que representam a estrutura do XML da NF-e
The newest version!
/*
* Copyright 2022 prbrios.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.github.prbrios.leiaute.nfe.classes.evento.envio;
import io.github.prbrios.leiaute.nfe.Base;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
@Root(name = "infEvento")
public class EnvEventoEventoInfEvento extends Base {
@Attribute(name = "Id", required = false)
private String id;
@Element(name = "cOrgao", required = false)
private String cOrgao;
@Element(name = "tpAmb", required = false)
private String tpAmb;
@Element(name = "CNPJ", required = false)
private String CNPJ;
@Element(name = "CPF", required = false)
private String CPF;
@Element(name = "chNFe", required = false)
private String chNFe;
@Element(name = "dhEvento", required = false)
private String dhEvento;
@Element(name = "tpEvento", required = false)
private String tpEvento;
@Element(name = "nSeqEvento", required = false)
private String nSeqEvento;
@Element(name = "verEvento", required = false)
private String verEvento = "1.00";
@Element(name = "detEvento", required = false)
private EnvEventoEventoInfEventoDetEvento detEvento;
public EnvEventoEventoInfEvento() {}
public EnvEventoEventoInfEvento(String id, String cOrgao, String tpAmb, String CNPJ, String CPF, String chNFe, String dhEvento, String tpEvento, String nSeqEvento, String verEvento, EnvEventoEventoInfEventoDetEvento detEvento) {
this.id = id;
this.cOrgao = cOrgao;
this.tpAmb = tpAmb;
this.CNPJ = CNPJ;
this.CPF = CPF;
this.chNFe = chNFe;
this.dhEvento = dhEvento;
this.tpEvento = tpEvento;
this.nSeqEvento = nSeqEvento;
this.verEvento = verEvento;
this.detEvento = detEvento;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getcOrgao() {
return cOrgao;
}
public void setcOrgao(String cOrgao) {
this.cOrgao = cOrgao;
}
public String getTpAmb() {
return tpAmb;
}
public void setTpAmb(String tpAmb) {
this.tpAmb = tpAmb;
}
public String getCNPJ() {
return CNPJ;
}
public void setCNPJ(String cNPJ) {
CNPJ = cNPJ;
}
public String getCPF() {
return CPF;
}
public void setCPF(String cPF) {
CPF = cPF;
}
public String getChNFe() {
return chNFe;
}
public void setChNFe(String chNFe) {
this.chNFe = chNFe;
}
public String getDhEvento() {
return dhEvento;
}
public void setDhEvento(String dhEvento) {
this.dhEvento = dhEvento;
}
public String getTpEvento() {
return tpEvento;
}
public void setTpEvento(String tpEvento) {
this.tpEvento = tpEvento;
}
public String getnSeqEvento() {
return nSeqEvento;
}
public void setnSeqEvento(String nSeqEvento) {
this.nSeqEvento = nSeqEvento;
}
public String getVerEvento() {
return verEvento;
}
public void setVerEvento(String verEvento) {
this.verEvento = verEvento;
}
public EnvEventoEventoInfEventoDetEvento getDetEvento() {
return detEvento;
}
public void setDetEvento(EnvEventoEventoInfEventoDetEvento detEvento) {
this.detEvento = detEvento;
}
}