diff --git a/pom.xml b/pom.xml index 6e44664cf..cec9cb1ff 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 br.com.rjconsultores ModelWeb - 1.34.0 + 1.35.0 diff --git a/src/com/rjconsultores/ventaboletos/enums/StatusRecargaEnum.java b/src/com/rjconsultores/ventaboletos/enums/StatusRecargaEnum.java new file mode 100644 index 000000000..9c54bc2cd --- /dev/null +++ b/src/com/rjconsultores/ventaboletos/enums/StatusRecargaEnum.java @@ -0,0 +1,31 @@ +package com.rjconsultores.ventaboletos.enums; +/** + * Enum que contém os tipos de operações + * @author Fabio F Barreto + * + */ +public enum StatusRecargaEnum { + + AUTORIZADA ("authorized"), + CONFIRMADA ("captured"), + CANCELADA ("canceled"), + NEGADA ("denied"), + ESTORNADA ("refunded"); + + private String codigo; + + + private StatusRecargaEnum(String codigo) { + this.codigo = codigo; + } + + public String getCodigo() { + return codigo; + } + + @Override + public String toString() { + return getCodigo(); + } + +}