Class VoidPaymentResponse


public class VoidPaymentResponse extends PaymentResponse
Response object for a void payment request
  • Constructor Details

    • VoidPaymentResponse

      public VoidPaymentResponse(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 ID of the voided payment
    • setPaymentId

      public void setPaymentId(String paymentId)
      Set the field value
      Parameters:
      paymentId - The ID of the voided payment