Class PaymentTransactionFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.cartoperation.exception.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'sPaymentSummaries
.- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaymentTransactionFailureException(String message, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
PaymentTransactionFailureException(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart)
PaymentTransactionFailureException(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.cart.client.domain.Cart
getCart()
The cart whose payment is being processed.List<PaymentTransactionFailureDetail>
getPaymentTransactionFailureDetails()
A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.boolean
requires3DSVerification()
Whether or not the transaction failed because of a required 3DS check-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
PaymentTransactionFailureException
public PaymentTransactionFailureException(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
-
-
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.
-
getPaymentTransactionFailureDetails
public List<PaymentTransactionFailureDetail> getPaymentTransactionFailureDetails()
A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.- Returns:
- A collection of
PaymentTransactionFailureDetails
describing how the transaction(s) failed.
-
-