Class ManualRefundResponse

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

public class ManualRefundResponse extends BaseResponse
Response object for a manual refund (naked credit) request
  • Constructor Details

    • ManualRefundResponse

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

    • getCredit

      public com.clover.sdk.v3.payments.Credit getCredit()
      Get the field value
      Returns:
      the credit object for the manual refund
    • setCredit

      public void setCredit(com.clover.sdk.v3.payments.Credit credit)
      Set the field value
      Parameters:
      credit - the credit object for the manual refund