Class SessionCreateParams.Builder
java.lang.Object
com.stripe.param.financialconnections.SessionCreateParams.Builder
- Enclosing class:
- SessionCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand(List<String> elements) Add all elements to `expand` list.addAllPermission(List<SessionCreateParams.Permission> elements) Add all elements to `permissions` list.addAllPrefetch(List<SessionCreateParams.Prefetch> elements) Add all elements to `prefetch` list.Add an element to `expand` list.Add an element to `permissions` list.addPrefetch(SessionCreateParams.Prefetch element) Add an element to `prefetch` list.build()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.setAccountHolder(SessionCreateParams.AccountHolder accountHolder) Required. The account holder to link accounts for.setFilters(SessionCreateParams.Filters filters) Filters to restrict the kinds of accounts to collect.setLimits(SessionCreateParams.Limits limits) Settings for configuring Session-specific limits.setManualEntry(SessionCreateParams.ManualEntry manualEntry) Customize manual entry behavior.setReturnUrl(String returnUrl) For webview integrations only.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccountHolder
public SessionCreateParams.Builder setAccountHolder(SessionCreateParams.AccountHolder accountHolder) Required. The account holder to link accounts for. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.expandfor the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.expandfor the field documentation. -
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.extraParamsfor 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.extraParamsfor the field documentation. -
setFilters
Filters to restrict the kinds of accounts to collect. -
setLimits
Settings for configuring Session-specific limits. -
setManualEntry
Customize manual entry behavior. -
addPermission
Add an element to `permissions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.permissionsfor the field documentation. -
addAllPermission
Add all elements to `permissions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.permissionsfor the field documentation. -
addPrefetch
Add an element to `prefetch` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.prefetchfor the field documentation. -
addAllPrefetch
Add all elements to `prefetch` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.prefetchfor the field documentation. -
setReturnUrl
For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
-