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

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

    • BillAcceptorInterface

      public BillAcceptorInterface 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

      public BillAcceptorService(BillAcceptorProperties props, JposDevice device)
      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 interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getCapFullSensor

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

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

      public boolean getCapNearFullSensor() throws jpos.JposException
      Specified by:
      getCapNearFullSensor in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getCapPauseDeposit

      public boolean getCapPauseDeposit() throws jpos.JposException
      Specified by:
      getCapPauseDeposit in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getCapRealTimeData

      public boolean getCapRealTimeData() throws jpos.JposException
      Specified by:
      getCapRealTimeData in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getCurrencyCode

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

      public int getDepositAmount() throws jpos.JposException
      Specified by:
      getDepositAmount in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getDepositCashList

      public String getDepositCashList() throws jpos.JposException
      Specified by:
      getDepositCashList in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getDepositCodeList

      public String getDepositCodeList() throws jpos.JposException
      Specified by:
      getDepositCodeList in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getDepositCounts

      public String getDepositCounts() throws jpos.JposException
      Specified by:
      getDepositCounts in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getDepositStatus

      public int getDepositStatus() throws jpos.JposException
      Specified by:
      getDepositStatus in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getFullStatus

      public int getFullStatus() throws jpos.JposException
      Specified by:
      getFullStatus in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • getRealTimeDataEnabled

      public boolean getRealTimeDataEnabled() throws jpos.JposException
      Specified by:
      getRealTimeDataEnabled in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • setCurrencyCode

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

      public void setRealTimeDataEnabled(boolean b) throws jpos.JposException
      Specified by:
      setRealTimeDataEnabled in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • adjustCashCounts

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

      public void beginDeposit() throws jpos.JposException
      Specified by:
      beginDeposit in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • endDeposit

      public void endDeposit(int success) throws jpos.JposException
      Specified by:
      endDeposit in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • fixDeposit

      public void fixDeposit() throws jpos.JposException
      Specified by:
      fixDeposit in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • pauseDeposit

      public void pauseDeposit(int control) throws jpos.JposException
      Specified by:
      pauseDeposit in interface jpos.services.BillAcceptorService111
      Throws:
      jpos.JposException
    • readCashCounts

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