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

com.fincatto.documentofiscal.cte300.classes.os.CTeOSInfoCTeNormalInfoGTVe Maven / Gradle / Ivy

There is a newer version: 4.0.75
Show newest version
package com.fincatto.documentofiscal.cte300.classes.os;

import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.cte.CTeConfig;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;

import java.util.List;

@Root(name = "infGTVe")
@Namespace(reference = CTeConfig.NAMESPACE)
public class CTeOSInfoCTeNormalInfoGTVe extends DFBase {
    private static final long serialVersionUID = -7819895569994558919L;

    @Element(name = "chCTe")
    private String chaveGTVe;

    @ElementList(name = "Comp", inline = true)
    private List comp;

    public String getChaveGTVe() {
        return chaveGTVe;
    }

    public void setChaveGTVe(final String chaveGTVe) {
        DFStringValidador.exatamente44N(chaveGTVe, "Chave de acesso da Guia de Transporte de Valores Eletrônica (GTVe)");
        this.chaveGTVe = chaveGTVe;
    }

    public List getComp() {
        return comp;
    }

    public void setComp(final List comp) {
        this.comp = comp;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy