Implementação do retorno SAFRA feat bug#AL-3377
parent
eed86db741
commit
4d250db672
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>GeneradorBoletosCNAB</artifactId>
|
||||
<version>1.5.0</version>
|
||||
<version>1.6.0</version>
|
||||
<name>GeneradorBoletosCNAB</name>
|
||||
|
||||
<distributionManagement>
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.math.BigDecimal;
|
|||
|
||||
import com.rjconsultores.ventaboletos.blocos.DetalheRetorno;
|
||||
|
||||
public class DetalheRetornoItau implements DetalheRetorno, Cloneable{
|
||||
public class DetalheRetornoItau implements DetalheRetorno{
|
||||
|
||||
private Integer idBoletoFechamento;
|
||||
private String nossoNumero;
|
||||
|
|
|
@ -369,7 +369,7 @@ public class NossoNumeroUtils {
|
|||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
if(BancoLayout.SAFRA_400_Envio.equals(bancoLayout) && nossoNumero.length() == 11 ){
|
||||
if(BancoLayout.SAFRA_400_Envio.equals(bancoLayout) && nossoNumero.length() == 10 ){
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
|
@ -393,4 +393,4 @@ public class NossoNumeroUtils {
|
|||
System.out.println( calcularNossoNumeroSafra( new BigInteger("422979999") ));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue