public class RefundPaymentResponse extends BaseResponse
Constructor and Description |
---|
RefundPaymentResponse(boolean success,
ResultCode result)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOrderId()
Get the field value
|
java.lang.String |
getPaymentId()
Get the field value
|
com.clover.sdk.v3.payments.Refund |
getRefund()
Get the field value
|
void |
setOrderId(java.lang.String orderId)
Set the field value
|
void |
setPaymentId(java.lang.String paymentId)
Set the field value
|
void |
setRefund(com.clover.sdk.v3.payments.Refund refund)
Set the field value
|
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
public RefundPaymentResponse(boolean success, ResultCode result)
success
- If true then the requested operation succeededresult
- The result of the requested operationpublic java.lang.String getOrderId()
public void setOrderId(java.lang.String orderId)
orderId
- unique identifier of the order to be refundedpublic java.lang.String getPaymentId()
public void setPaymentId(java.lang.String paymentId)
paymentId
- unique identifier of the payment to be refundedpublic com.clover.sdk.v3.payments.Refund getRefund()
public void setRefund(com.clover.sdk.v3.payments.Refund refund)
refund
- The actual refund made