Class SessionCreateParams.Builder
java.lang.Object
com.stripe.param.financialconnections.SessionCreateParams.Builder
- Enclosing class:
- SessionCreateParams
-
Constructor Summary
-
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.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.expand
for 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.expand
for 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.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.extraParams
for the field documentation. -
setFilters
Filters to restrict the kinds of accounts to collect. -
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.permissions
for 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.permissions
for 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.prefetch
for 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.prefetch
for 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.
-