Package com.onlinepayments
Class DeclinedPaymentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.onlinepayments.ApiException
com.onlinepayments.DeclinedTransactionException
com.onlinepayments.DeclinedPaymentException
- All Implemented Interfaces:
Serializable
Represents an error response from a create payment call.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeclinedPaymentException(int statusCode, String responseBody, PaymentErrorResponse 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
-
DeclinedPaymentException
-
-
Method Details
-
getCreatePaymentResponse
- Returns:
- The result of creating a payment if available, or
nullotherwise.
-