Class AuthorizeRefund
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.OutputRequest
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.CheckCard
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.CashDeposit
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.AuthorizeCompletion
de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.AuthorizeRefund
- All Implemented Interfaces:
Runnable
Output request executor for ElectronicValueRW method AuthorizeRefund.
-
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
ConstructorsConstructorDescriptionAuthorizeRefund(ElectronicValueRWProperties data, int sequenceNumber, long amount, long taxOthers, int timeout)
Constructor. -
Method Summary
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.AuthorizeCompletion
getTaxOthers
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.CashDeposit
getAmount
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.CheckCard
getSequenceNumber, getTimeout
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.electronicvaluerw.OutputRequest
getAdditionalSecurityInformation, getApprovalCode, getCurrentService, getParameter, getParameterObject, getPaymentMedia, getPINEntry, getServiceType, getTrainingMode
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, reactivate, reactivate, reset, run
-
Constructor Details
-
AuthorizeRefund
public AuthorizeRefund(ElectronicValueRWProperties data, int sequenceNumber, long amount, long taxOthers, int timeout)Constructor. Stores given parameters for later use.- Parameters:
data
- Property set of device service.sequenceNumber
- Sequence number for approval.amount
- Purchase amount for approval.taxOthers
- Tax and other amounts for approval.timeout
- The maximum waiting time (in milliseconds) until the response is received from the ElectronicValueRW device.
-
-
Method Details
-
invoke
public void invoke() throws jpos.JposExceptionDescription copied from class:JposOutputRequest
Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.- Overrides:
invoke
in classAuthorizeCompletion
- Throws:
jpos.JposException
- JposException thrown by the command to be executed.
-