From 299f38b25267e418dee930849d32bb82f5be62b2 Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 30 Jan 2024 14:11:59 -0300 Subject: [PATCH] =?UTF-8?q?Adi=C3=A7=C3=A3o=20de=20relatorio=20de=20recarg?= =?UTF-8?q?a=20Feat=20bug#AL=3D3512?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../ventaboletos/enums/StatusRecargaEnum.java | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/com/rjconsultores/ventaboletos/enums/StatusRecargaEnum.java 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(); + } + +}