Class VoidPaymentResponse
java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.PaymentResponse
com.clover.remote.client.messages.VoidPaymentResponse
Response object for a void payment request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the field valuevoidsetPaymentId(String paymentId) Set the field valueMethods inherited from class com.clover.remote.client.messages.PaymentResponse
getPayment, getSignature, isAuth, isPreAuth, isSale, setPayment, setSignatureMethods inherited from class com.clover.remote.client.messages.BaseResponse
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
-
Constructor Details
-
VoidPaymentResponse
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 ID of the voided payment
-
setPaymentId
Set the field value- Parameters:
paymentId- The ID of the voided payment
-