Class StripePaymentIntentRequiresPaymentMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
com.broadleafcommerce.vendor.stripe.service.exception.StripePaymentIntentRequiresPaymentMethodException
- All Implemented Interfaces:
Serializable
public class StripePaymentIntentRequiresPaymentMethodException
extends com.broadleafcommerce.paymentgateway.service.exception.PaymentException
Exception is thrown when you attempt to execute a transaction against a
PaymentIntent
that does not have a payment method associated with it.- Author:
- Divyank Chavan.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStripePaymentIntentRequiresPaymentMethodException
(String message, com.stripe.model.PaymentIntent paymentIntent) StripePaymentIntentRequiresPaymentMethodException
(String message, Throwable cause, com.stripe.model.PaymentIntent paymentIntent) StripePaymentIntentRequiresPaymentMethodException
(Throwable cause, com.stripe.model.PaymentIntent paymentIntent) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StripePaymentIntentRequiresPaymentMethodException
public StripePaymentIntentRequiresPaymentMethodException(String message, com.stripe.model.PaymentIntent paymentIntent) -
StripePaymentIntentRequiresPaymentMethodException
public StripePaymentIntentRequiresPaymentMethodException(Throwable cause, com.stripe.model.PaymentIntent paymentIntent) -
StripePaymentIntentRequiresPaymentMethodException
-
-
Method Details
-
getPaymentIntent
public com.stripe.model.PaymentIntent getPaymentIntent()
-