Correção no arquivo deremessa
parent
ccde11931c
commit
14e9f8ee54
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>GeneradorBoletosCNAB</artifactId>
|
<artifactId>GeneradorBoletosCNAB</artifactId>
|
||||||
<version>1.4.0</version>
|
<version>1.4.1</version>
|
||||||
<name>GeneradorBoletosCNAB</name>
|
<name>GeneradorBoletosCNAB</name>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
|
|
|
@ -35,7 +35,6 @@ public class ArquivoRemessaItau extends ArquivoRemessaItem {
|
||||||
@Override
|
@Override
|
||||||
public RodapeRemessa getRodapeRemessa() {
|
public RodapeRemessa getRodapeRemessa() {
|
||||||
this.rodapeRemessa = this.rodapeRemessa == null ? new RodapeRemessaPadrao() : this.rodapeRemessa;
|
this.rodapeRemessa = this.rodapeRemessa == null ? new RodapeRemessaPadrao() : this.rodapeRemessa;
|
||||||
rodapeRemessa.setNumeroSequencialRegistro(titulos.size()+2);
|
|
||||||
return rodapeRemessa;
|
return rodapeRemessa;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,8 @@ import com.rjconsultores.ventaboletos.utils.FormataUtil;
|
||||||
|
|
||||||
public class ItauFlatFile extends AbstractFlatFile implements RemessaInterface {
|
public class ItauFlatFile extends AbstractFlatFile implements RemessaInterface {
|
||||||
|
|
||||||
|
private static final String SOMENTE_CLASSE_DE_RETORNO = "Somente classe de Retorno.";
|
||||||
|
|
||||||
public ItauFlatFile() {
|
public ItauFlatFile() {
|
||||||
super(BancoLayout.ITAU_400_Envio);
|
super(BancoLayout.ITAU_400_Envio);
|
||||||
}
|
}
|
||||||
|
@ -152,17 +154,17 @@ public class ItauFlatFile extends AbstractFlatFile implements RemessaInterface {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected CabecalhoRetorno readHeader(Record header) {
|
protected CabecalhoRetorno readHeader(Record header) {
|
||||||
throw new UnsupportedOperationException("Somente classe de Retorno.");
|
throw new UnsupportedOperationException(SOMENTE_CLASSE_DE_RETORNO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected List<DetalheRetorno> readTransacaoTitulos(Collection<Record> registrosDeTransacoes) {
|
protected List<DetalheRetorno> readTransacaoTitulos(Collection<Record> registrosDeTransacoes) {
|
||||||
throw new UnsupportedOperationException("Somente classe de Retorno.");
|
throw new UnsupportedOperationException(SOMENTE_CLASSE_DE_RETORNO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected RodapeRetorno readTrailler(Record trailler) {
|
protected RodapeRetorno readTrailler(Record trailler) {
|
||||||
throw new UnsupportedOperationException("Somente classe de Retorno.");
|
throw new UnsupportedOperationException(SOMENTE_CLASSE_DE_RETORNO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue