Class SessionCreateParams.Builder

java.lang.Object
com.stripe.param.financialconnections.SessionCreateParams.Builder
Enclosing class:
SessionCreateParams

public static class SessionCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public SessionCreateParams 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

      public SessionCreateParams.Builder addExpand(String element)
      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. See SessionCreateParams.expand for the field documentation.
    • addAllExpand

      public SessionCreateParams.Builder addAllExpand(List<String> elements)
      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. See SessionCreateParams.expand for the field documentation.
    • putExtraParam

      public SessionCreateParams.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. See SessionCreateParams.extraParams for the field documentation.
    • putAllExtraParam

      public SessionCreateParams.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. See SessionCreateParams.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. See SessionCreateParams.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. See SessionCreateParams.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. See SessionCreateParams.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. See SessionCreateParams.prefetch for the field documentation.
    • setReturnUrl

      public SessionCreateParams.Builder setReturnUrl(String returnUrl)
      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.