Class CATService

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.cat.CATService
All Implemented Interfaces:
jpos.loader.JposServiceInstance, jpos.services.BaseService, jpos.services.CATService110, jpos.services.CATService111, jpos.services.CATService112, jpos.services.CATService113, jpos.services.CATService114, jpos.services.CATService115, jpos.services.CATService116, jpos.services.CATService14, jpos.services.CATService15, jpos.services.CATService16, jpos.services.CATService17, jpos.services.CATService18, jpos.services.CATService19

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

    • CatInterface

      public CATInterface CatInterface
      Instance of a class implementing the CATInterface for credit authorization terminal specific setter and method calls bound to the property set. Almost always the same object as Data.
  • Constructor Details

    • CATService

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

    • getAccountNumber

      public String getAccountNumber() throws jpos.JposException
      Specified by:
      getAccountNumber in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getAdditionalSecurityInformation

      public String getAdditionalSecurityInformation() throws jpos.JposException
      Specified by:
      getAdditionalSecurityInformation in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • setAdditionalSecurityInformation

      public void setAdditionalSecurityInformation(String addInfo) throws jpos.JposException
      Specified by:
      setAdditionalSecurityInformation in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getApprovalCode

      public String getApprovalCode() throws jpos.JposException
      Specified by:
      getApprovalCode in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getBalance

      public long getBalance() throws jpos.JposException
      Specified by:
      getBalance in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getCapAdditionalSecurityInformation

      public boolean getCapAdditionalSecurityInformation() throws jpos.JposException
      Specified by:
      getCapAdditionalSecurityInformation in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapAuthorizeCompletion

      public boolean getCapAuthorizeCompletion() throws jpos.JposException
      Specified by:
      getCapAuthorizeCompletion in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapAuthorizePreSales

      public boolean getCapAuthorizePreSales() throws jpos.JposException
      Specified by:
      getCapAuthorizePreSales in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapAuthorizeRefund

      public boolean getCapAuthorizeRefund() throws jpos.JposException
      Specified by:
      getCapAuthorizeRefund in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapAuthorizeVoid

      public boolean getCapAuthorizeVoid() throws jpos.JposException
      Specified by:
      getCapAuthorizeVoid in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapAuthorizeVoidPreSales

      public boolean getCapAuthorizeVoidPreSales() throws jpos.JposException
      Specified by:
      getCapAuthorizeVoidPreSales in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapCashDeposit

      public boolean getCapCashDeposit() throws jpos.JposException
      Specified by:
      getCapCashDeposit in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getCapCenterResultCode

      public boolean getCapCenterResultCode() throws jpos.JposException
      Specified by:
      getCapCenterResultCode in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapCheckCard

      public boolean getCapCheckCard() throws jpos.JposException
      Specified by:
      getCapCheckCard in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapDailyLog

      public int getCapDailyLog() throws jpos.JposException
      Specified by:
      getCapDailyLog in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapInstallments

      public boolean getCapInstallments() throws jpos.JposException
      Specified by:
      getCapInstallments in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapLockTerminal

      public boolean getCapLockTerminal() throws jpos.JposException
      Specified by:
      getCapLockTerminal in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getCapLogStatus

      public boolean getCapLogStatus() throws jpos.JposException
      Specified by:
      getCapLogStatus in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getCapPaymentDetail

      public boolean getCapPaymentDetail() throws jpos.JposException
      Specified by:
      getCapPaymentDetail in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapTaxOthers

      public boolean getCapTaxOthers() throws jpos.JposException
      Specified by:
      getCapTaxOthers in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapTrainingMode

      public boolean getCapTrainingMode() throws jpos.JposException
      Specified by:
      getCapTrainingMode in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapTransactionNumber

      public boolean getCapTransactionNumber() throws jpos.JposException
      Specified by:
      getCapTransactionNumber in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCapUnlockTerminal

      public boolean getCapUnlockTerminal() throws jpos.JposException
      Specified by:
      getCapUnlockTerminal in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getCardCompanyID

      public String getCardCompanyID() throws jpos.JposException
      Specified by:
      getCardCompanyID in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getCenterResultCode

      public String getCenterResultCode() throws jpos.JposException
      Specified by:
      getCenterResultCode in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getDailyLog

      public String getDailyLog() throws jpos.JposException
      Specified by:
      getDailyLog in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getLogStatus

      public int getLogStatus() throws jpos.JposException
      Specified by:
      getLogStatus in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getPaymentCondition

      public int getPaymentCondition() throws jpos.JposException
      Specified by:
      getPaymentCondition in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getPaymentDetail

      public String getPaymentDetail() throws jpos.JposException
      Specified by:
      getPaymentDetail in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getPaymentMedia

      public int getPaymentMedia() throws jpos.JposException
      Specified by:
      getPaymentMedia in interface jpos.services.CATService15
      Throws:
      jpos.JposException
    • setPaymentMedia

      public void setPaymentMedia(int media) throws jpos.JposException
      Specified by:
      setPaymentMedia in interface jpos.services.CATService15
      Throws:
      jpos.JposException
    • getSequenceNumber

      public int getSequenceNumber() throws jpos.JposException
      Specified by:
      getSequenceNumber in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getSettledAmount

      public long getSettledAmount() throws jpos.JposException
      Specified by:
      getSettledAmount in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • getSlipNumber

      public String getSlipNumber() throws jpos.JposException
      Specified by:
      getSlipNumber in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getTrainingMode

      public boolean getTrainingMode() throws jpos.JposException
      Specified by:
      getTrainingMode in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • setTrainingMode

      public void setTrainingMode(boolean flag) throws jpos.JposException
      Specified by:
      setTrainingMode in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getTransactionNumber

      public String getTransactionNumber() throws jpos.JposException
      Specified by:
      getTransactionNumber in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • getTransactionType

      public String getTransactionType() throws jpos.JposException
      Specified by:
      getTransactionType in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • accessDailyLog

      public void accessDailyLog(int sequenceNumber, int type, int timeout) throws jpos.JposException
      Specified by:
      accessDailyLog in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • authorizeCompletion

      public void authorizeCompletion(int sequenceNumber, long amount, long taxOthers, int timeout) throws jpos.JposException
      Specified by:
      authorizeCompletion in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • authorizePreSales

      public void authorizePreSales(int sequenceNumber, long amount, long taxOthers, int timeout) throws jpos.JposException
      Specified by:
      authorizePreSales in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • authorizeRefund

      public void authorizeRefund(int sequenceNumber, long amount, long taxOthers, int timeout) throws jpos.JposException
      Specified by:
      authorizeRefund in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • authorizeSales

      public void authorizeSales(int sequenceNumber, long amount, long taxOthers, int timeout) throws jpos.JposException
      Specified by:
      authorizeSales in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • authorizeVoid

      public void authorizeVoid(int sequenceNumber, long amount, long taxOthers, int timeout) throws jpos.JposException
      Specified by:
      authorizeVoid in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • authorizeVoidPreSales

      public void authorizeVoidPreSales(int sequenceNumber, long amount, long taxOthers, int timeout) throws jpos.JposException
      Specified by:
      authorizeVoidPreSales in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • cashDeposit

      public void cashDeposit(int sequenceNumber, long amount, int timeout) throws jpos.JposException
      Specified by:
      cashDeposit in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • checkCard

      public void checkCard(int sequenceNumber, int timeout) throws jpos.JposException
      Specified by:
      checkCard in interface jpos.services.CATService14
      Throws:
      jpos.JposException
    • lockTerminal

      public void lockTerminal() throws jpos.JposException
      Specified by:
      lockTerminal in interface jpos.services.CATService19
      Throws:
      jpos.JposException
    • unlockTerminal

      public void unlockTerminal() throws jpos.JposException
      Specified by:
      unlockTerminal in interface jpos.services.CATService19
      Throws:
      jpos.JposException