Class BillDispenserService

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.billdispenser.BillDispenserService
All Implemented Interfaces:
jpos.loader.JposServiceInstance, jpos.services.BaseService, jpos.services.BillDispenserService111, jpos.services.BillDispenserService112, jpos.services.BillDispenserService113, jpos.services.BillDispenserService114, jpos.services.BillDispenserService115, jpos.services.BillDispenserService116

public class BillDispenserService extends JposBase implements jpos.services.BillDispenserService116
BillDispenser service implementation. For more details about getter, setter and method implementations, see JposBase.
  • Field Details

    • BillDispenserInterface

      public BillDispenserInterface BillDispenserInterface
      Instance of a class implementing the BillDispenserInterface for bill dispenser specific setter and method calls bound to the property set. Almost always the same object as Data.
  • Constructor Details

    • BillDispenserService

      public BillDispenserService(BillDispenserProperties props, JposDevice device)
      Constructor. Stores given property set and device implementation object.
      Parameters:
      props - Property set.
      device - Device implementation object.
  • Method Details

    • getAsyncResultCode

      public int getAsyncResultCode() throws jpos.JposException
      Specified by:
      getAsyncResultCode in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getAsyncResultCodeExtended

      public int getAsyncResultCodeExtended() throws jpos.JposException
      Specified by:
      getAsyncResultCodeExtended in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCapDiscrepancy

      public boolean getCapDiscrepancy() throws jpos.JposException
      Specified by:
      getCapDiscrepancy in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCapEmptySensor

      public boolean getCapEmptySensor() throws jpos.JposException
      Specified by:
      getCapEmptySensor in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCapJamSensor

      public boolean getCapJamSensor() throws jpos.JposException
      Specified by:
      getCapJamSensor in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCapNearEmptySensor

      public boolean getCapNearEmptySensor() throws jpos.JposException
      Specified by:
      getCapNearEmptySensor in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCurrencyCashList

      public String getCurrencyCashList() throws jpos.JposException
      Specified by:
      getCurrencyCashList in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCurrencyCode

      public String getCurrencyCode() throws jpos.JposException
      Specified by:
      getCurrencyCode in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCurrencyCodeList

      public String getCurrencyCodeList() throws jpos.JposException
      Specified by:
      getCurrencyCodeList in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getCurrentExit

      public int getCurrentExit() throws jpos.JposException
      Specified by:
      getCurrentExit in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getDeviceExits

      public int getDeviceExits() throws jpos.JposException
      Specified by:
      getDeviceExits in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getDeviceStatus

      public int getDeviceStatus() throws jpos.JposException
      Specified by:
      getDeviceStatus in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • getExitCashList

      public String getExitCashList() throws jpos.JposException
      Specified by:
      getExitCashList in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • setCurrencyCode

      public void setCurrencyCode(String s) throws jpos.JposException
      Specified by:
      setCurrencyCode in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • setCurrentExit

      public void setCurrentExit(int i) throws jpos.JposException
      Specified by:
      setCurrentExit in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • adjustCashCounts

      public void adjustCashCounts(String cashCounts) throws jpos.JposException
      Specified by:
      adjustCashCounts in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • dispenseCash

      public void dispenseCash(String cashCounts) throws jpos.JposException
      Specified by:
      dispenseCash in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException
    • readCashCounts

      public void readCashCounts(String[] cashCounts, boolean[] discrepancy) throws jpos.JposException
      Specified by:
      readCashCounts in interface jpos.services.BillDispenserService111
      Throws:
      jpos.JposException