Package com.stripe.param.billingportal
Class SessionCreateParams.FlowData.AfterCompletion.Builder
java.lang.Object
com.stripe.param.billingportal.SessionCreateParams.FlowData.AfterCompletion.Builder
- Enclosing class:
- SessionCreateParams.FlowData.AfterCompletion
-
Constructor Summary
-
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.setHostedConfirmation
(SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation hostedConfirmation) Configuration whenafter_completion.type=hosted_confirmation
.Configuration whenafter_completion.type=redirect
.Required. The specified behavior after the flow is completed.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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.AfterCompletion.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.FlowData.AfterCompletion.Builder putAllExtraParam(Map<String, Object> map) 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.AfterCompletion.extraParams
for the field documentation. -
setHostedConfirmation
public SessionCreateParams.FlowData.AfterCompletion.Builder setHostedConfirmation(SessionCreateParams.FlowData.AfterCompletion.HostedConfirmation hostedConfirmation) Configuration whenafter_completion.type=hosted_confirmation
. -
setRedirect
public SessionCreateParams.FlowData.AfterCompletion.Builder setRedirect(SessionCreateParams.FlowData.AfterCompletion.Redirect redirect) Configuration whenafter_completion.type=redirect
. -
setType
public SessionCreateParams.FlowData.AfterCompletion.Builder setType(SessionCreateParams.FlowData.AfterCompletion.Type type) Required. The specified behavior after the flow is completed.
-