Class OutputRequest
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
Base output request class for ElectronicValueRW devices. Holds a copy of all properties and parameters from the time where
the request has been created.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
JposOutputRequest.JposRequestThread
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
Abort, AdditionalData, Device, EndSync, Exception, Finished, OutputID, Props, Waiting
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns contents of AdditionalSecurityInformation when the output request has been generated.Returns contents of ApprovalCode when the output request has been generated.Returns contents of CurrentService when the output request has been generated.getParameter(String key)
Get parameter set by setParameterInformation before request has been created.getParameterObject(String key)
Get parameter set by setParameterInformation before request has been created.int
Returns contents of PaymentMedia when the output request has been generated.int
Returns contents of PINEntry when the output request has been generated.int
Returns contents of ServiceType when the output request has been generated.int
Returns contents of TrainingModeState when the output request has been generated.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
abortCommand, abortCommand, catchedInvocation, clearAll, clearInput, clearOutput, countCommands, createErrorEvent, createIdleEvent, createOutputEvent, dequeue, enqueue, enqueueSynchronous, finishAsyncProcessing, finished, invoke, reactivate, reactivate, reset, run
-
Constructor Details
-
OutputRequest
Constructor. Stores given parameters for later use.- Parameters:
props
- Property set of device service.
-
-
Method Details
-
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
Returns contents of CurrentService when the output request has been generated.- Returns:
- Contents of CurrentService.
-
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
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
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.
-