Class SetupIntentResponse

java.lang.Object
com.broadleafcommerce.vendor.stripe.service.setupintent.SetupIntentResponse
All Implemented Interfaces:
Serializable

public class SetupIntentResponse extends Object implements Serializable
The DTO class that contains the properties from the SetupIntent required to attach a payment method.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • SetupIntentResponse

      public SetupIntentResponse()
  • Method Details

    • getClientSecret

      public String getClientSecret()
      The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
      Returns:
      the client secret of this SetupIntent
    • getStripeCustomerId

      public String getStripeCustomerId()
      The Stripe customer id.
      Returns:
      the Stripe customer id
    • setClientSecret

      public void setClientSecret(String clientSecret)
      The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
      Parameters:
      clientSecret - the client secret of this SetupIntent
    • setStripeCustomerId

      public void setStripeCustomerId(String stripeCustomerId)
      The Stripe customer id.
      Parameters:
      stripeCustomerId - the Stripe customer id