Class PaymentTransactionFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.PaymentTransactionFailureException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionPaymentTransactionFailureException
(String message, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) Deprecated.PaymentTransactionFailureException
(String message, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) PaymentTransactionFailureException
(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart) Deprecated.PaymentTransactionFailureException
(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) Deprecated.PaymentTransactionFailureException
(String message, Throwable cause, CheckoutProcessDto checkoutProcessDto) -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.cart.client.domain.Cart
getCart()
TheCheckoutProcessDto
for the checkout request.A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.boolean
Whether the transaction failed because of a required 3DS checkboolean
Whether the transaction failed because of a required external details checkboolean
Whether the transaction failed because of a required hosted payment page interactionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PaymentTransactionFailureException
@Deprecated public PaymentTransactionFailureException(String message, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) Deprecated. -
PaymentTransactionFailureException
@Deprecated public PaymentTransactionFailureException(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart) Deprecated. -
PaymentTransactionFailureException
@Deprecated public PaymentTransactionFailureException(String message, Throwable cause, com.broadleafcommerce.cart.client.domain.Cart cart, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails) Deprecated. -
PaymentTransactionFailureException
public PaymentTransactionFailureException(String message, Throwable cause, CheckoutProcessDto checkoutProcessDto) -
PaymentTransactionFailureException
public PaymentTransactionFailureException(String message, CheckoutProcessDto checkoutProcessDto, List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
-
-
Method Details
-
requires3DSVerification
public boolean requires3DSVerification()Whether the transaction failed because of a required 3DS check- Returns:
- Whether the transaction failed because of a required 3DS check
-
requiresExternalInteraction
public boolean requiresExternalInteraction()Whether the transaction failed because of a required external details check- Returns:
- Whether the transaction failed because of a required external details check
-
requiresHostedPaymentPageInteraction
public boolean requiresHostedPaymentPageInteraction()Whether the transaction failed because of a required hosted payment page interaction- Returns:
- Whether the transaction failed because of a required hosted payment page interaction
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart() -
getCheckoutProcessDto
TheCheckoutProcessDto
for the checkout request.- Returns:
- The
CheckoutProcessDto
for the checkout request.
-
getPaymentTransactionFailureDetails
A collection ofPaymentTransactionFailureDetails
describing how the transaction(s) failed.- Returns:
- A collection of
PaymentTransactionFailureDetails
describing how the transaction(s) failed.
-