Class TipAdjustAuthResponse

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

public class TipAdjustAuthResponse extends BaseResponse
Response object for a request to adjust the tip of a prior auth
  • Constructor Details

    • TipAdjustAuthResponse

      public TipAdjustAuthResponse(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:
      The payment id from the authorization payment, or captured pre-auth payment
    • setPaymentId

      public void setPaymentId(String paymentId)
      Set the field value
      Parameters:
      paymentId - The payment id from the authorization payment, or captured pre-auth payment
    • getTipAmount

      public long getTipAmount()
      Get the field value
      Returns:
      The amount paid in tips
    • setTipAmount

      public void setTipAmount(long tipAmount)
      Set the field value
      Parameters:
      tipAmount - The amount paid in tips