Class DeclinedPaymentException

All Implemented Interfaces:
Serializable

public class DeclinedPaymentException extends DeclinedTransactionException
Represents an error response from a create payment call.
See Also:
  • Constructor Details

    • DeclinedPaymentException

      public DeclinedPaymentException(int statusCode, String responseBody, PaymentErrorResponse response)
  • Method Details

    • getCreatePaymentResponse

      public CreatePaymentResponse getCreatePaymentResponse()
      Returns:
      The result of creating a payment if available, or null otherwise.