![JAR search and dependency download from the Maven repository](/logo.png)
com.fincatto.documentofiscal.mdfe3.classes.nota.evento.MDFeEnviaEventoPagamento Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nfe Show documentation
Show all versions of nfe Show documentation
Biblioteca de comunicacao de nota fiscal eletronica brasileira
package com.fincatto.documentofiscal.mdfe3.classes.nota.evento;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.mdfe3.classes.nota.MDFInfoModalRodoviarioInfPag;
import com.fincatto.documentofiscal.mdfe3.classes.nota.MDFInfoModalRodoviarioInfViagens;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
import java.util.List;
import org.simpleframework.xml.ElementList;
/**
* No manual o nome da tag root é evPagtoMDFe, mas no xsd está evPagtoOperMDFe.
* Verificar se vai haver uma correção no futuro.
* Created by Edivaldo Merlo Stens on 29/06/20.
*/
@Root(name = "evPagtoOperMDFe")
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe")
public class MDFeEnviaEventoPagamento extends DFBase {
private static final long serialVersionUID = -6894944230355205787L;
@Element(name = "descEvento")
private String descricaoEvento = "Pagamento Operação MDF-e";
@Element(name = "nProt")
private String nProt;
@ElementList(entry = "infViagens", inline = true, required = true)
protected List infViagens;
@ElementList(entry = "infPag", inline = true, required = true)
protected List infPag;
public void setDescricaoEvento(final String descricaoEvento) {
final String defaultValue = "Pagamento Operação MDF-e";
DFStringValidador.equals(defaultValue, descricaoEvento);
this.descricaoEvento = descricaoEvento;
}
public String getDescricaoEvento() {
return this.descricaoEvento;
}
public String getNProt() {
return nProt;
}
public void setNProt(String nProt) {
this.nProt = nProt;
}
public List getInfViagens() {
return infViagens;
}
public void setInfViagens(List infViagens) {
this.infViagens = infViagens;
}
public List getInfPag() {
return infPag;
}
public void setInfPag(List infPag) {
this.infPag = infPag;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy