Class BillAcceptorService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.billacceptor.BillAcceptorService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.BillAcceptorService111
,jpos.services.BillAcceptorService112
,jpos.services.BillAcceptorService113
,jpos.services.BillAcceptorService114
,jpos.services.BillAcceptorService115
,jpos.services.BillAcceptorService116
BillAcceptor service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the BillAcceptorInterface for bill acceptor specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props
-
Constructor Summary
ConstructorsConstructorDescriptionBillAcceptorService(BillAcceptorProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustCashCounts(String cashCounts)
void
void
endDeposit(int success)
void
boolean
boolean
boolean
boolean
boolean
boolean
int
int
int
boolean
void
pauseDeposit(int control)
void
readCashCounts(String[] cashCounts, boolean[] discrepancy)
void
void
setRealTimeDataEnabled(boolean b)
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.services.BillAcceptorService111
clearInput, compareFirmwareVersion, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getDataCount, getDataEventEnabled, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setDataEventEnabled, setPowerNotify, updateFirmware, updateStatistics
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
BillAcceptorInterface
Instance of a class implementing the BillAcceptorInterface for bill acceptor specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
BillAcceptorService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapDiscrepancy
public boolean getCapDiscrepancy() throws jpos.JposException- Specified by:
getCapDiscrepancy
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getCapFullSensor
public boolean getCapFullSensor() throws jpos.JposException- Specified by:
getCapFullSensor
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensor
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getCapNearFullSensor
public boolean getCapNearFullSensor() throws jpos.JposException- Specified by:
getCapNearFullSensor
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getCapPauseDeposit
public boolean getCapPauseDeposit() throws jpos.JposException- Specified by:
getCapPauseDeposit
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeData
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getCurrencyCode
- Specified by:
getCurrencyCode
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getDepositAmount
public int getDepositAmount() throws jpos.JposException- Specified by:
getDepositAmount
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getDepositCashList
- Specified by:
getDepositCashList
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getDepositCodeList
- Specified by:
getDepositCodeList
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getDepositCounts
- Specified by:
getDepositCounts
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getDepositStatus
public int getDepositStatus() throws jpos.JposException- Specified by:
getDepositStatus
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getFullStatus
public int getFullStatus() throws jpos.JposException- Specified by:
getFullStatus
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
getRealTimeDataEnabled
public boolean getRealTimeDataEnabled() throws jpos.JposException- Specified by:
getRealTimeDataEnabled
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
setCurrencyCode
- Specified by:
setCurrencyCode
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
setRealTimeDataEnabled
public void setRealTimeDataEnabled(boolean b) throws jpos.JposException- Specified by:
setRealTimeDataEnabled
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCounts
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
beginDeposit
public void beginDeposit() throws jpos.JposException- Specified by:
beginDeposit
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
endDeposit
public void endDeposit(int success) throws jpos.JposException- Specified by:
endDeposit
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
fixDeposit
public void fixDeposit() throws jpos.JposException- Specified by:
fixDeposit
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
pauseDeposit
public void pauseDeposit(int control) throws jpos.JposException- Specified by:
pauseDeposit
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCounts
in interfacejpos.services.BillAcceptorService111
- Throws:
jpos.JposException
-