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 TypeMethodDescriptionvoidadjustCashCounts(String cashCounts)voidvoidendDeposit(int success)voidbooleanbooleanbooleanbooleanbooleanbooleanintintintbooleanvoidpauseDeposit(int control)voidreadCashCounts(String[] cashCounts, boolean[] discrepancy)voidvoidsetRealTimeDataEnabled(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, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods inherited from interface jpos.services.BillAcceptorService111
clearInput, compareFirmwareVersion, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getDataCount, getDataEventEnabled, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setDataEventEnabled, setPowerNotify, updateFirmware, updateStatisticsMethods 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:
getCapDiscrepancyin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getCapFullSensor
public boolean getCapFullSensor() throws jpos.JposException- Specified by:
getCapFullSensorin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensorin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getCapNearFullSensor
public boolean getCapNearFullSensor() throws jpos.JposException- Specified by:
getCapNearFullSensorin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getCapPauseDeposit
public boolean getCapPauseDeposit() throws jpos.JposException- Specified by:
getCapPauseDepositin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getCapRealTimeData
public boolean getCapRealTimeData() throws jpos.JposException- Specified by:
getCapRealTimeDatain interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getCurrencyCode
- Specified by:
getCurrencyCodein interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getDepositAmount
public int getDepositAmount() throws jpos.JposException- Specified by:
getDepositAmountin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getDepositCashList
- Specified by:
getDepositCashListin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getDepositCodeList
- Specified by:
getDepositCodeListin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getDepositCounts
- Specified by:
getDepositCountsin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getDepositStatus
public int getDepositStatus() throws jpos.JposException- Specified by:
getDepositStatusin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getFullStatus
public int getFullStatus() throws jpos.JposException- Specified by:
getFullStatusin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
getRealTimeDataEnabled
public boolean getRealTimeDataEnabled() throws jpos.JposException- Specified by:
getRealTimeDataEnabledin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
setCurrencyCode
- Specified by:
setCurrencyCodein interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
setRealTimeDataEnabled
public void setRealTimeDataEnabled(boolean b) throws jpos.JposException- Specified by:
setRealTimeDataEnabledin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
adjustCashCounts
- Specified by:
adjustCashCountsin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
beginDeposit
public void beginDeposit() throws jpos.JposException- Specified by:
beginDepositin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
endDeposit
public void endDeposit(int success) throws jpos.JposException- Specified by:
endDepositin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
fixDeposit
public void fixDeposit() throws jpos.JposException- Specified by:
fixDepositin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
pauseDeposit
public void pauseDeposit(int control) throws jpos.JposException- Specified by:
pauseDepositin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-
readCashCounts
- Specified by:
readCashCountsin interfacejpos.services.BillAcceptorService111- Throws:
jpos.JposException
-