Class PaymentTransactionFailureException

  • All Implemented Interfaces:
    Serializable

    public class PaymentTransactionFailureException
    extends RuntimeException
    Exception thrown if there was an issue while attempting to execute a payment transaction for one of the cart's PaymentSummaries.
    Author:
    Chris Kittrell (ckittrell)
    See Also:
    Serialized Form
    • Constructor Detail

      • PaymentTransactionFailureException

        public PaymentTransactionFailureException​(String message,
                                                  com.broadleafcommerce.cart.client.domain.Cart cart,
                                                  List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
      • PaymentTransactionFailureException

        public PaymentTransactionFailureException​(String message,
                                                  Throwable cause,
                                                  com.broadleafcommerce.cart.client.domain.Cart cart)
    • Method Detail

      • requires3DSVerification

        public boolean requires3DSVerification()
        Whether or not the transaction failed because of a required 3DS check
        Returns:
        Whether or not the transaction failed because of a required 3DS check
      • getCart

        public com.broadleafcommerce.cart.client.domain.Cart getCart()
        The cart whose payment is being processed.
        Returns:
        The cart whose payment is being processed.