io.github.prbrios.leiaute.nfe.classes.NFeInfNFeIdeNFrefRefNF 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;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import io.github.prbrios.leiaute.nfe.Base;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
@JsonRootName("refnf")
@Root(name ="refNF")
public class NFeInfNFeIdeNFrefRefNF extends Base {
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("cuf")
@Element(name = "cUF", required = false)
private String cUF;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("aamm")
@Element(name = "AAMM", required = false)
private String AAMM;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("cnpj")
@Element(name = "CNPJ", required = false)
private String CNPJ;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("mod")
@Element(name = "mod", required = false)
private String mod;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("serie")
@Element(name = "serie", required = false)
private String serie;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("nnf")
@Element(name = "nNF", required = false)
private String nNF;
public NFeInfNFeIdeNFrefRefNF() {}
public NFeInfNFeIdeNFrefRefNF(String cUF, String AAMM, String CNPJ, String mod, String serie, String nNF) {
this.cUF = cUF;
this.AAMM = AAMM;
this.CNPJ = CNPJ;
this.mod = mod;
this.serie = serie;
this.nNF = nNF;
}
public String getcUF() {
return cUF;
}
public void setcUF(String cUF) {
this.cUF = cUF;
}
public String getAAMM() {
return AAMM;
}
public void setAAMM(String aAMM) {
AAMM = aAMM;
}
public String getCNPJ() {
return CNPJ;
}
public void setCNPJ(String cNPJ) {
CNPJ = cNPJ;
}
public String getMod() {
return mod;
}
public void setMod(String mod) {
this.mod = mod;
}
public String getSerie() {
return serie;
}
public void setSerie(String serie) {
this.serie = serie;
}
public String getnNF() {
return nNF;
}
public void setnNF(String nNF) {
this.nNF = nNF;
}
}