Skip to content

Commit

Permalink
Added getGateStatus which was missing since version 1.12
Browse files Browse the repository at this point in the history
where it was misspelled and added as getGetStatus.
Marked getGetStatus as deprecated via javadoc.
Generated GateService115.java by javapos-code-generators project.
Solves GH issue #9.
  • Loading branch information
kuniss committed Jun 27, 2022
1 parent 8586493 commit 99a2e54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/jpos/GateControl112.java
Expand Up @@ -40,14 +40,15 @@ public interface GateControl112 extends BaseControl
public boolean getCapGateStatus() throws JposException;
public int getCapPowerReporting() throws JposException;
/**
* @deprecated Does not use it. It is not defined in UnifiedPOS at all.
* @deprecated Do not use it. It is not defined in UnifiedPOS at all.
*/
public boolean getCapRealTimeData() throws JposException;
public boolean getCapStatisticsReporting() throws JposException;
public boolean getCapUpdateFirmware() throws JposException;
public boolean getCapUpdateStatistics() throws JposException;

// Properties
/** @deprecated Typo in initial version, use getGateStatus() instead */
public int getGetStatus() throws JposException;
public int getPowerNotify() throws JposException;
public void setPowerNotify(int powerNotify) throws JposException;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/jpos/GateControl115.java
Expand Up @@ -33,4 +33,8 @@
public interface GateControl115 extends GateControl114
{
// Nothing new added for release 1.15

// But a typo correction is needed introduced initially with version 1.12
public int getGateStatus() throws JposException;

}
5 changes: 4 additions & 1 deletion src/main/java/jpos/services/GateService115.java
Expand Up @@ -28,8 +28,11 @@

package jpos.services;

import jpos.*;

public interface GateService115 extends GateService114
{
// Nothing new added for release 1.15
// Properties
public int getGateStatus() throws JposException;

}

0 comments on commit 99a2e54

Please sign in to comment.