Package com.onlinepayments
Class DeclinedRefundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.onlinepayments.ApiException
com.onlinepayments.DeclinedTransactionException
com.onlinepayments.DeclinedRefundException
- All Implemented Interfaces:
Serializable
Represents an error response from a refund call.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeclinedRefundException(int statusCode, String responseBody, RefundErrorResponse response) -
Method Summary
Methods inherited from class com.onlinepayments.ApiException
getErrorId, getErrors, getResponseBody, getStatusCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DeclinedRefundException
-
-
Method Details
-
getRefundResponse
- Returns:
- The result of creating a refund if available, or
nullotherwise.
-