From a39f5ddc316d8930e805787a2a9dc8cdf8e74fda Mon Sep 17 00:00:00 2001 From: Josefina Revilla Date: Mon, 13 Jul 2015 14:09:35 -0300 Subject: [PATCH] Override isCredit/isDebit --- modules/minigl/src/main/java/org/jpos/gl/GLCredit.java | 7 +++++++ modules/minigl/src/main/java/org/jpos/gl/GLDebit.java | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/modules/minigl/src/main/java/org/jpos/gl/GLCredit.java b/modules/minigl/src/main/java/org/jpos/gl/GLCredit.java index b31128d39d..80a3cb3c70 100644 --- a/modules/minigl/src/main/java/org/jpos/gl/GLCredit.java +++ b/modules/minigl/src/main/java/org/jpos/gl/GLCredit.java @@ -22,5 +22,12 @@ public class GLCredit extends GLEntry { public GLCredit() { super(); } + + @Override + public boolean isCredit() { return true; } + + @Override + public boolean isDebit() { return false; } + } diff --git a/modules/minigl/src/main/java/org/jpos/gl/GLDebit.java b/modules/minigl/src/main/java/org/jpos/gl/GLDebit.java index ca4023a066..7129416611 100644 --- a/modules/minigl/src/main/java/org/jpos/gl/GLDebit.java +++ b/modules/minigl/src/main/java/org/jpos/gl/GLDebit.java @@ -22,5 +22,12 @@ public class GLDebit extends GLEntry { public GLDebit() { super(); } + + @Override + public boolean isCredit() { return false; } + + @Override + public boolean isDebit() { return true; } + }