Class ConnectionSessionCreateParams.Builder

java.lang.Object
com.stripe.param.v2.core.ConnectionSessionCreateParams.Builder
Enclosing class:
ConnectionSessionCreateParams

public static class ConnectionSessionCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAccount

      public ConnectionSessionCreateParams.Builder setAccount(String account)
      Required. The Account the ConnectionSession will create a connection for.
    • addAllowedConnectionType

      Add an element to `allowedConnectionTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConnectionSessionCreateParams.allowedConnectionTypes for the field documentation.
    • addAllAllowedConnectionType

      Add all elements to `allowedConnectionTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConnectionSessionCreateParams.allowedConnectionTypes for the field documentation.
    • putExtraParam

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

      public ConnectionSessionCreateParams.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 ConnectionSessionCreateParams.extraParams for the field documentation.
    • addRequestedAccess

      Add an element to `requestedAccess` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConnectionSessionCreateParams.requestedAccess for the field documentation.
    • addAllRequestedAccess

      Add all elements to `requestedAccess` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See ConnectionSessionCreateParams.requestedAccess for the field documentation.