diff --git a/src/com/rjconsultores/ventaboletos/enuns/AceiteBB.java b/src/com/rjconsultores/ventaboletos/enuns/AceiteBB.java new file mode 100644 index 000000000..c215f3ce4 --- /dev/null +++ b/src/com/rjconsultores/ventaboletos/enuns/AceiteBB.java @@ -0,0 +1,17 @@ +package com.rjconsultores.ventaboletos.enuns; + +public enum AceiteBB { + + ACEITE("A"), + NAO_ACEITE("N"); + + private AceiteBB(String value){ + this.value = value; + } + + private String value; + + public String getValue() { + return value; + } +} diff --git a/src/com/rjconsultores/ventaboletos/enuns/BancoLayout.java b/src/com/rjconsultores/ventaboletos/enuns/BancoLayout.java index 23dcba3cb..8709d2e10 100644 --- a/src/com/rjconsultores/ventaboletos/enuns/BancoLayout.java +++ b/src/com/rjconsultores/ventaboletos/enuns/BancoLayout.java @@ -2,10 +2,13 @@ package com.rjconsultores.ventaboletos.enuns; public enum BancoLayout { - BRADESCO_Envio("237", false, "/layouts/LayoutBradescoCNAB400Envio.txg.xml"), - ITAU_Envio("341", false, "/layouts/LayoutItauCNAB400Envio.txg.xml"), - BRADESCO_Retorno("237", true, "/layouts/LayoutBradescoCNAB400Retorno.txg.xml"), - ITAU_Retorno("341", true, "/layouts/LayoutItauCNAB400Envio.txg.xml"); + BRADESCO_400_Envio("237", false, "/layouts/LayoutBradescoCNAB400Envio.txg.xml"), + ITAU_400_Envio("341", false, "/layouts/LayoutItauCNAB400Envio.txg.xml"), + BB_240_Envio("001", false, "/layouts/LayoutBBCNAB240Envio.txg.xml"), + BRADESCO_400_Retorno("237", true, "/layouts/LayoutBradescoCNAB400Retorno.txg.xml"), + ITAU_400_Retorno("341", true, ""), + BB_240_Retorno("001", true, ""); + private BancoLayout(String codBanco, boolean retorno, String path) { this.codBanco = codBanco;