java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.OutputRequest
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
CheckCard, DataObjRequest, LockTerminal, NumberTimeoutRequest, QueryLastSuccessfulTransactionResult, TransactionAccess, UnlockTerminal

public class OutputRequest extends JposOutputRequest
Base output request class for ElectronicValueRW devices. Holds a copy of all properties and parameters from the time where the request has been created.
  • Constructor Details

    • OutputRequest

      public OutputRequest(ElectronicValueRWProperties props)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
  • Method Details

    • getAdditionalSecurityInformation

      public String getAdditionalSecurityInformation()
      Returns contents of AdditionalSecurityInformation when the output request has been generated.
      Returns:
      Contents of AdditionalSecurityInformation.
    • getPaymentMedia

      public int getPaymentMedia()
      Returns contents of PaymentMedia when the output request has been generated.
      Returns:
      Contents of PaymentMedia.
    • getTrainingMode

      public int getTrainingMode()
      Returns contents of TrainingModeState when the output request has been generated.
      Returns:
      Contents of TrainingMode.
    • getCurrentService

      public String getCurrentService()
      Returns contents of CurrentService when the output request has been generated.
      Returns:
      Contents of CurrentService.
    • getApprovalCode

      public String getApprovalCode()
      Returns contents of ApprovalCode when the output request has been generated.
      Returns:
      Contents of ApprovalCode.
    • getPINEntry

      public int getPINEntry()
      Returns contents of PINEntry when the output request has been generated.
      Returns:
      Contents of PINEntry.
    • getServiceType

      public int getServiceType()
      Returns contents of ServiceType when the output request has been generated.
      Returns:
      Contents of ServiceType.
    • getParameter

      public String getParameter(String key)
      Get parameter set by setParameterInformation before request has been created.
      Parameters:
      key - Key of parameter to be queried, e.g. "Amount".
      Returns:
      parameter value as String, null if parameter has not been set.
    • getParameterObject

      public Object getParameterObject(String key)
      Get parameter set by setParameterInformation before request has been created. The Object returned belongs to class String for String and Datetime tags, Boolean for Boolean tags, Long for Currency tags and Integer for Enumerated and Number tags.
      Parameters:
      key - Key of parameter to be queried, e.g. "Amount".
      Returns:
      parameter value as described.