-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd77ce2
commit b926c41
Showing
13 changed files
with
3,381 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...a/com/fincatto/documentofiscal/mdfe/classes/distribuicao/MDFeDistribuicaoConsultaNSU.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.fincatto.documentofiscal.mdfe.classes.distribuicao; | ||
|
||
import org.simpleframework.xml.Element; | ||
|
||
import com.fincatto.documentofiscal.DFBase; | ||
|
||
public class MDFeDistribuicaoConsultaNSU extends DFBase { | ||
|
||
private static final long serialVersionUID = -582191692175285331L; | ||
|
||
@Element(name = "NSU") | ||
private String nsu; | ||
|
||
public String getNsu() { | ||
return this.nsu; | ||
} | ||
|
||
public MDFeDistribuicaoConsultaNSU setNsu(final String nsu) { | ||
this.nsu = nsu; | ||
return this; | ||
} | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
.../java/com/fincatto/documentofiscal/mdfe/classes/distribuicao/MDFeDistribuicaoDFeLote.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.fincatto.documentofiscal.mdfe.classes.distribuicao; | ||
|
||
import java.util.List; | ||
|
||
import org.simpleframework.xml.ElementList; | ||
|
||
import com.fincatto.documentofiscal.DFBase; | ||
|
||
public class MDFeDistribuicaoDFeLote extends DFBase { | ||
private static final long serialVersionUID = 5213446895183202408L; | ||
|
||
@ElementList(name = "docZip", inline = true, required = false) | ||
private List<MDFeDistribuicaoDocumentoZip> docZip; | ||
|
||
public List<MDFeDistribuicaoDocumentoZip> getDocZip() { | ||
return this.docZip; | ||
} | ||
|
||
public MDFeDistribuicaoDFeLote setDocZip(final List<MDFeDistribuicaoDocumentoZip> docZip) { | ||
this.docZip = docZip; | ||
return this; | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
.../com/fincatto/documentofiscal/mdfe/classes/distribuicao/MDFeDistribuicaoDocumentoZip.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package com.fincatto.documentofiscal.mdfe.classes.distribuicao; | ||
|
||
import org.simpleframework.xml.Attribute; | ||
import org.simpleframework.xml.Root; | ||
import org.simpleframework.xml.Text; | ||
|
||
import com.fincatto.documentofiscal.DFBase; | ||
|
||
@Root(name = "docZip") | ||
public class MDFeDistribuicaoDocumentoZip extends DFBase { | ||
private static final long serialVersionUID = -6656266954109936292L; | ||
|
||
@Text | ||
private String value; | ||
|
||
@Attribute(name = "NSU") | ||
private String nsu; | ||
|
||
@Attribute(name = "schema") | ||
private String schema; | ||
|
||
public String getValue() { | ||
return this.value; | ||
} | ||
|
||
public String getNsu() { | ||
return this.nsu; | ||
} | ||
|
||
public MDFeDistribuicaoDocumentoZip setNsu(final String nsu) { | ||
this.nsu = nsu; | ||
return this; | ||
} | ||
|
||
public String getSchema() { | ||
return this.schema; | ||
} | ||
|
||
public MDFeDistribuicaoDocumentoZip setSchema(final String schema) { | ||
this.schema = schema; | ||
return this; | ||
} | ||
|
||
public MDFeDistribuicaoDocumentoZip setValue(final String value) { | ||
this.value = value; | ||
return this; | ||
} | ||
|
||
} |
82 changes: 82 additions & 0 deletions
82
...main/java/com/fincatto/documentofiscal/mdfe/classes/distribuicao/MDFeDistribuicaoInt.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
package com.fincatto.documentofiscal.mdfe.classes.distribuicao; | ||
|
||
import org.simpleframework.xml.Attribute; | ||
import org.simpleframework.xml.Element; | ||
import org.simpleframework.xml.Namespace; | ||
import org.simpleframework.xml.Root; | ||
|
||
import com.fincatto.documentofiscal.DFAmbiente; | ||
import com.fincatto.documentofiscal.DFBase; | ||
|
||
@Root(name = "distDFeInt") | ||
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe") | ||
public class MDFeDistribuicaoInt extends DFBase { | ||
private static final long serialVersionUID = -7079002577486035141L; | ||
|
||
@Attribute(name = "versao") | ||
private String versao; | ||
|
||
@Element(name = "tpAmb") | ||
private DFAmbiente ambiente; | ||
|
||
@Element(name = "CNPJ", required = false) | ||
private String cnpj; | ||
|
||
@Element(name = "CPF", required = false) | ||
private String cpf; | ||
|
||
@Element(name = "distNSU", required = false) | ||
private MDFeDistribuicaoNSU distribuicao; | ||
|
||
@Element(name = "consNSU", required = false) | ||
private MDFeDistribuicaoConsultaNSU consulta; | ||
|
||
public String getVersao() { | ||
return this.versao; | ||
} | ||
|
||
public void setVersao(final String versao) { | ||
this.versao = versao; | ||
} | ||
|
||
public DFAmbiente getAmbiente() { | ||
return this.ambiente; | ||
} | ||
|
||
public void setAmbiente(final DFAmbiente ambiente) { | ||
this.ambiente = ambiente; | ||
} | ||
|
||
public String getCnpj() { | ||
return this.cnpj; | ||
} | ||
|
||
public void setCnpj(final String cnpj) { | ||
this.cnpj = cnpj; | ||
} | ||
|
||
public String getCpf() { | ||
return this.cpf; | ||
} | ||
|
||
public void setCpf(final String cpf) { | ||
this.cpf = cpf; | ||
} | ||
|
||
public MDFeDistribuicaoNSU getDistribuicao() { | ||
return this.distribuicao; | ||
} | ||
|
||
public void setDistribuicao(final MDFeDistribuicaoNSU distribuicao) { | ||
this.distribuicao = distribuicao; | ||
} | ||
|
||
public MDFeDistribuicaoConsultaNSU getConsulta() { | ||
return this.consulta; | ||
} | ||
|
||
public void setConsulta(final MDFeDistribuicaoConsultaNSU consulta) { | ||
this.consulta = consulta; | ||
} | ||
|
||
} |
115 changes: 115 additions & 0 deletions
115
...va/com/fincatto/documentofiscal/mdfe/classes/distribuicao/MDFeDistribuicaoIntRetorno.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
package com.fincatto.documentofiscal.mdfe.classes.distribuicao; | ||
|
||
import org.simpleframework.xml.Attribute; | ||
import org.simpleframework.xml.Element; | ||
import org.simpleframework.xml.Namespace; | ||
import org.simpleframework.xml.Root; | ||
|
||
import com.fincatto.documentofiscal.DFAmbiente; | ||
import com.fincatto.documentofiscal.DFBase; | ||
|
||
@Root(name = "retDistDFeInt") | ||
@Namespace(reference = "http://www.portalfiscal.inf.br/mdfe") | ||
public class MDFeDistribuicaoIntRetorno extends DFBase { | ||
private static final long serialVersionUID = 8390916638871236156L; | ||
|
||
@Attribute(name = "versao") | ||
private String versao; | ||
|
||
@Element(name = "tpAmb") | ||
private DFAmbiente ambiente; | ||
|
||
@Element(name = "verAplic") | ||
private String versaoAplicativo; | ||
|
||
@Element(name = "cStat") | ||
private String codigoStatusReposta; | ||
|
||
@Element(name = "xMotivo") | ||
private String motivo; | ||
|
||
@Element(name = "dhResp") | ||
private String dataHoraResposta; | ||
|
||
@Element(name = "ultNSU") | ||
private String ultimoNSU; | ||
|
||
@Element(name = "maxNSU") | ||
private String maximoNSU; | ||
|
||
@Element(name = "loteDistDFeInt", required = false) | ||
private MDFeDistribuicaoDFeLote lote; | ||
|
||
public String getVersao() { | ||
return this.versao; | ||
} | ||
|
||
public void setVersao(final String versao) { | ||
this.versao = versao; | ||
} | ||
|
||
public DFAmbiente getAmbiente() { | ||
return this.ambiente; | ||
} | ||
|
||
public void setAmbiente(final DFAmbiente ambiente) { | ||
this.ambiente = ambiente; | ||
} | ||
|
||
public String getVersaoAplicativo() { | ||
return this.versaoAplicativo; | ||
} | ||
|
||
public void setVersaoAplicativo(final String versaoAplicativo) { | ||
this.versaoAplicativo = versaoAplicativo; | ||
} | ||
|
||
public String getCodigoStatusReposta() { | ||
return this.codigoStatusReposta; | ||
} | ||
|
||
public void setCodigoStatusReposta(final String codigoStatusReposta) { | ||
this.codigoStatusReposta = codigoStatusReposta; | ||
} | ||
|
||
public String getMotivo() { | ||
return this.motivo; | ||
} | ||
|
||
public void setMotivo(final String motivo) { | ||
this.motivo = motivo; | ||
} | ||
|
||
public String getDataHoraResposta() { | ||
return this.dataHoraResposta; | ||
} | ||
|
||
public void setDataHoraResposta(final String dataHoraResposta) { | ||
this.dataHoraResposta = dataHoraResposta; | ||
} | ||
|
||
public String getUltimoNSU() { | ||
return this.ultimoNSU; | ||
} | ||
|
||
public void setUltimoNSU(final String ultimoNSU) { | ||
this.ultimoNSU = ultimoNSU; | ||
} | ||
|
||
public String getMaximoNSU() { | ||
return this.maximoNSU; | ||
} | ||
|
||
public void setMaximoNSU(final String maximoNSU) { | ||
this.maximoNSU = maximoNSU; | ||
} | ||
|
||
public MDFeDistribuicaoDFeLote getLote() { | ||
return this.lote; | ||
} | ||
|
||
public void setLote(final MDFeDistribuicaoDFeLote lote) { | ||
this.lote = lote; | ||
} | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...main/java/com/fincatto/documentofiscal/mdfe/classes/distribuicao/MDFeDistribuicaoNSU.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.fincatto.documentofiscal.mdfe.classes.distribuicao; | ||
|
||
import org.simpleframework.xml.Element; | ||
|
||
import com.fincatto.documentofiscal.DFBase; | ||
|
||
public class MDFeDistribuicaoNSU extends DFBase { | ||
private static final long serialVersionUID = -50569062199740836L; | ||
|
||
@Element(name = "ultNSU") | ||
private String ultimoNSU; | ||
|
||
public java.lang.String getUltimoNSU() { | ||
return this.ultimoNSU; | ||
} | ||
|
||
public MDFeDistribuicaoNSU setUltimoNSU(final java.lang.String ultimoNSU) { | ||
this.ultimoNSU = ultimoNSU; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.