Class SetupIntentResponse
java.lang.Object
com.broadleafcommerce.vendor.stripe.service.setupintent.SetupIntentResponse
- All Implemented Interfaces:
Serializable
The DTO class that contains the properties from the SetupIntent required to attach a payment
method.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe client secret of this SetupIntent.The Stripe customer id.void
setClientSecret
(String clientSecret) The client secret of this SetupIntent.void
setStripeCustomerId
(String stripeCustomerId) The Stripe customer id.
-
Constructor Details
-
SetupIntentResponse
public SetupIntentResponse()
-
-
Method Details
-
getClientSecret
The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.- Returns:
- the client secret of this SetupIntent
-
getStripeCustomerId
The Stripe customer id.- Returns:
- the Stripe customer id
-
setClientSecret
The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.- Parameters:
clientSecret
- the client secret of this SetupIntent
-
setStripeCustomerId
The Stripe customer id.- Parameters:
stripeCustomerId
- the Stripe customer id
-