All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.prbrios.leiaute.nfe.classes.NFeInfNFeCana Maven / Gradle / Ivy

/*
 * 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.ElementList;
import org.simpleframework.xml.Root;

import java.util.ArrayList;
import java.util.List;

@JsonRootName("cana")
@Root(name = "cana")
public class NFeInfNFeCana extends Base {

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("safra")
    @Element(name = "safra", required = false)
    private String safra;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("ref")
    @Element(name = "ref", required = false)
    private String ref;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("fordia")
    @ElementList(name = "forDia", required = false, inline = true)
    private List forDia = new ArrayList();

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("qtotmes")
    @Element(name = "qTotMes", required = false)
    private String qTotMes;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("qtotant")
    @Element(name = "qTotAnt", required = false)
    private String qTotAnt;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("qtotger")
    @Element(name = "qTotGer", required = false)
    private String qTotGer;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("deduc")
    @ElementList(name = "deduc", required = false, inline = true)
    private List deduc = new ArrayList();

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("vfor")
    @Element(name = "vFor", required = false)
    private String vFor;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("vtotded")
    @Element(name = "vTotDed", required = false)
    private String vTotDed;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("vliqfor")
    @Element(name = "vLiqFor", required = false)
    private String vLiqFor;

    public NFeInfNFeCana() {}

    public NFeInfNFeCana(String safra, String ref, List forDia, String qTotMes, String qTotAnt, String qTotGer, List deduc, String vFor, String vTotDed, String vLiqFor) {
        this.safra = safra;
        this.ref = ref;
        this.forDia = forDia;
        this.qTotMes = qTotMes;
        this.qTotAnt = qTotAnt;
        this.qTotGer = qTotGer;
        this.deduc = deduc;
        this.vFor = vFor;
        this.vTotDed = vTotDed;
        this.vLiqFor = vLiqFor;
    }

	public String getSafra() {
		return safra;
	}

	public void setSafra(String safra) {
		this.safra = safra;
	}

	public String getRef() {
		return ref;
	}

	public void setRef(String ref) {
		this.ref = ref;
	}

	public List getForDia() {
		return forDia;
	}

	public void setForDia(List forDia) {
		this.forDia = forDia;
	}

	public String getqTotMes() {
		return qTotMes;
	}

	public void setqTotMes(String qTotMes) {
		this.qTotMes = qTotMes;
	}

	public String getqTotAnt() {
		return qTotAnt;
	}

	public void setqTotAnt(String qTotAnt) {
		this.qTotAnt = qTotAnt;
	}

	public String getqTotGer() {
		return qTotGer;
	}

	public void setqTotGer(String qTotGer) {
		this.qTotGer = qTotGer;
	}

	public List getDeduc() {
		return deduc;
	}

	public void setDeduc(List deduc) {
		this.deduc = deduc;
	}

	public String getvFor() {
		return vFor;
	}

	public void setvFor(String vFor) {
		this.vFor = vFor;
	}

	public String getvTotDed() {
		return vTotDed;
	}

	public void setvTotDed(String vTotDed) {
		this.vTotDed = vTotDed;
	}

	public String getvLiqFor() {
		return vLiqFor;
	}

	public void setvLiqFor(String vLiqFor) {
		this.vLiqFor = vLiqFor;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy