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

com.fincatto.documentofiscal.cte200.classes.cte.CTInfoEntregaSemData Maven / Gradle / Ivy

There is a newer version: 4.0.78
Show newest version
package com.fincatto.documentofiscal.cte200.classes.cte;

import org.simpleframework.xml.Element;

import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.cte200.classes.CTTipoEntregaData;

public class CTInfoEntregaSemData extends DFBase {
    private static final long serialVersionUID = 4799720133563113665L;

    @Element(name = "tpPer")
    private CTTipoEntregaData tipoPeriodo;

    public void setTipoPeriodo(final CTTipoEntregaData tipoPeriodo) {
        if (!CTTipoEntregaData.SEM_DATA.equals(tipoPeriodo)) {
            throw new IllegalArgumentException("O tipo de per\u00edodo programado para entrega deve ser sem data");
        }
        this.tipoPeriodo = tipoPeriodo;
    }

    public CTTipoEntregaData getTipoPeriodo() {
        return this.tipoPeriodo;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy