Interface StripePaymentIntentService

All Known Implementing Classes:
DefaultStripePaymentIntentService

public interface StripePaymentIntentService
This service is used for creating a Stripe PaymentIntent.
Author:
Divyank Chavan.
  • Method Details

    • createPaymentIntent

      PaymentIntentResponse createPaymentIntent(PaymentIntentRequest paymentIntentRequest)
      Creates a PaymentIntent for the provided request.
      Parameters:
      paymentIntentRequest - Request used to create a PaymentIntent
      Returns:
      PaymentIntentResponse Information about the created PaymentIntent
    • getPaymentIntentInfo

      default PaymentIntentResponse getPaymentIntentInfo(String paymentIntentId, @Nullable String paymentIntentAccessToken, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Gets a PaymentIntent info for the specified id.
      Parameters:
      paymentIntentId - the payment intent id
      paymentIntentAccessToken - the payment intent access token
      contextInfo - Request context information around sandbox and multitenant state
      Returns:
      the payment intent info for the specified id