diff --git a/.settings/.gitignore b/.settings/.gitignore new file mode 100644 index 000000000..b012ade25 --- /dev/null +++ b/.settings/.gitignore @@ -0,0 +1 @@ +/org.eclipse.core.resources.prefs diff --git a/src/com/rjconsultores/ventaboletos/blocos/bradesco/DetalheRetornoBradesco.java b/src/com/rjconsultores/ventaboletos/blocos/bradesco/DetalheRetornoBradesco.java new file mode 100644 index 000000000..bf5d8d1e6 --- /dev/null +++ b/src/com/rjconsultores/ventaboletos/blocos/bradesco/DetalheRetornoBradesco.java @@ -0,0 +1,73 @@ +package com.rjconsultores.ventaboletos.blocos.bradesco; + +import java.util.ArrayList; +import java.util.List; + +import com.rjconsultores.ventaboletos.blocos.DetalheRetorno; +import com.rjconsultores.ventaboletos.enuns.MotivoOcorrenciaBradesco; +import com.rjconsultores.ventaboletos.enuns.OcorrenciaBradesco; + +public class DetalheRetornoBradesco implements DetalheRetorno, Cloneable{ + + private String numeroControleDoParticipante; + private OcorrenciaBradesco ocorrencia; + private List motivoOcorrencias; + private Integer idBoletoFechamento; + private String nossoNumero; + private Integer numeroSequencialRegistro; + + public String getNumeroControleDoParticipante() { + return numeroControleDoParticipante; + } + public void setNumeroControleDoParticipante(String numeroControleDoParticipante) { + this.numeroControleDoParticipante = numeroControleDoParticipante; + } + public OcorrenciaBradesco getOcorrencia() { + return ocorrencia; + } + public void setOcorrencia(OcorrenciaBradesco ocorrencia) { + this.ocorrencia = ocorrencia; + } + public List getMotivoOcorrencias() { + return motivoOcorrencias; + } + public void addMotivoOcorrencia(MotivoOcorrenciaBradesco motivoOcorrencias) { + + if(this.motivoOcorrencias == null){ + this.motivoOcorrencias = new ArrayList(); + } + + this.motivoOcorrencias.add(motivoOcorrencias); + } + + public Integer getIdBoletoFechamento() { + return idBoletoFechamento; + } + + public void setIdBoletoFechamento(Integer idBoletoFechamento) { + this.idBoletoFechamento = idBoletoFechamento; + } + + public String getNossoNumero() { + return nossoNumero; + } + + public void setNossoNumero(String nossoNumero) { + this.nossoNumero = nossoNumero; + } + + public Integer getNumeroSequencialRegistro() { + return numeroSequencialRegistro; + } + + public void setNumeroSequencialRegistro(Integer numeroSequencialRegistro) { + this.numeroSequencialRegistro = numeroSequencialRegistro; + } + + public void setMotivoOcorrencias(List motivoOcorrencias) { + this.motivoOcorrencias = motivoOcorrencias; + } + + + +} diff --git a/src/com/rjconsultores/ventaboletos/blocos/itau/DetalheRetornoItau.java b/src/com/rjconsultores/ventaboletos/blocos/itau/DetalheRetornoItau.java new file mode 100644 index 000000000..1aeadb65d --- /dev/null +++ b/src/com/rjconsultores/ventaboletos/blocos/itau/DetalheRetornoItau.java @@ -0,0 +1,37 @@ +package com.rjconsultores.ventaboletos.blocos.itau; + +import com.rjconsultores.ventaboletos.blocos.DetalheRetorno; + +public class DetalheRetornoItau implements DetalheRetorno, Cloneable{ + + private Integer idBoletoFechamento; + private String nossoNumero; + private Integer numeroSequencialRegistro; + + + public Integer getIdBoletoFechamento() { + return idBoletoFechamento; + } + + public void setIdBoletoFechamento(Integer idBoletoFechamento) { + this.idBoletoFechamento = idBoletoFechamento; + } + + public String getNossoNumero() { + return nossoNumero; + } + + public void setNossoNumero(String nossoNumero) { + this.nossoNumero = nossoNumero; + } + + public Integer getNumeroSequencialRegistro() { + return numeroSequencialRegistro; + } + + public void setNumeroSequencialRegistro(Integer numeroSequencialRegistro) { + this.numeroSequencialRegistro = numeroSequencialRegistro; + } + + +}