Package com.stripe.param.billingportal
Class SessionCreateParams.FlowData.Builder
java.lang.Object
com.stripe.param.billingportal.SessionCreateParams.FlowData.Builder
- Enclosing class:
- SessionCreateParams.FlowData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setAfterCompletion
(SessionCreateParams.FlowData.AfterCompletion afterCompletion) Behavior after the flow is completed.setSubscriptionCancel
(SessionCreateParams.FlowData.SubscriptionCancel subscriptionCancel) Configuration whenflow_data.type=subscription_cancel
.Type of flow that the customer will go through.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAfterCompletion
public SessionCreateParams.FlowData.Builder setAfterCompletion(SessionCreateParams.FlowData.AfterCompletion afterCompletion) Behavior after the flow is completed. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSessionCreateParams.FlowData.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSessionCreateParams.FlowData.extraParams
for the field documentation. -
setSubscriptionCancel
public SessionCreateParams.FlowData.Builder setSubscriptionCancel(SessionCreateParams.FlowData.SubscriptionCancel subscriptionCancel) Configuration whenflow_data.type=subscription_cancel
. -
setType
Type of flow that the customer will go through.
-