Class CapturePreAuthResponse

java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.CapturePreAuthResponse

public class CapturePreAuthResponse extends BaseResponse
Response object for a payment capture request
  • Constructor Details

    • CapturePreAuthResponse

      public CapturePreAuthResponse(boolean success, ResultCode result)
      Constructor
      Parameters:
      success - If true then the requested operation succeeded
      result - The result of the requested operation
  • Method Details

    • getPaymentId

      public String getPaymentId()
      Get the field value
      Returns:
      ID of the pre-auth payment being captured
    • setPaymentId

      public void setPaymentId(String paymentId)
      Set the field value
      Parameters:
      paymentId - Id of the pre-auth payment being captured
    • getAmount

      public Long getAmount()
      Get the field value
      Returns:
      the base amount of the capture
    • setAmount

      public void setAmount(long amount)
      Set the field value
      Parameters:
      amount - the base amount of the capture
    • getTipAmount

      public long getTipAmount()
      Get the field value
      Returns:
      additional tip amount for the capture
    • setTipAmount

      public void setTipAmount(long tipAmount)
      Set the field value
      Parameters:
      tipAmount - additional tip amount for the capture