Skip to content

Commit

Permalink
Merge pull request #19 from jrfinc/master
Browse files Browse the repository at this point in the history
Override isCredit/isDebit
  • Loading branch information
ar committed Jul 13, 2015
2 parents a4d1d90 + a39f5dd commit 121ba84
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/minigl/src/main/java/org/jpos/gl/GLCredit.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ public class GLCredit extends GLEntry {
public GLCredit() {
super();
}

@Override
public boolean isCredit() { return true; }

@Override
public boolean isDebit() { return false; }

}

7 changes: 7 additions & 0 deletions modules/minigl/src/main/java/org/jpos/gl/GLDebit.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ public class GLDebit extends GLEntry {
public GLDebit() {
super();
}

@Override
public boolean isCredit() { return false; }

@Override
public boolean isDebit() { return true; }

}

0 comments on commit 121ba84

Please # to comment.