Package com.stripe.param.billingportal
Class SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation.Builder
java.lang.Object
com.stripe.param.billingportal.SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation.Builder
- Enclosing class:
- SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation
public static class SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setCustomMessage
(String customMessage) A custom message to display to the customer after the flow is completed.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomMessage
public SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation.Builder setCustomMessage(String customMessage) A custom message to display to the customer after the flow is completed. -
putExtraParam
public SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation.Builder putExtraParam(String key, Object value) 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.AfterCompletion.HostedConfirmation.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation.Builder putAllExtraParam(Map<String, Object> map)
-