All Implemented Interfaces:
Runnable

public class AuthorizeRefund extends AuthorizeCompletion
Output request executor for ElectronicValueRW method AuthorizeRefund.
  • 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.JposException
      Description copied from class: JposOutputRequest
      Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.
      Overrides:
      invoke in class AuthorizeCompletion
      Throws:
      jpos.JposException - JposException thrown by the command to be executed.