Class TipAdjustAuthResponse
java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.TipAdjustAuthResponse
Response object for a request to adjust the tip of a prior auth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the field valuelongGet the field valuevoidsetPaymentId(String paymentId) Set the field valuevoidsetTipAmount(long tipAmount) Set the field valueMethods inherited from class com.clover.remote.client.messages.BaseResponse
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
-
Constructor Details
-
TipAdjustAuthResponse
Constructor- Parameters:
success- If true then the requested operation succeededresult- The result of the requested operation
-
-
Method Details
-
getPaymentId
Get the field value- Returns:
- The payment id from the authorization payment, or captured pre-auth payment
-
setPaymentId
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
-