Package com.stripe.param.v2.core
Class ConnectionSessionCreateParams.Builder
java.lang.Object
com.stripe.param.v2.core.ConnectionSessionCreateParams.Builder
- Enclosing class:
- ConnectionSessionCreateParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `allowedConnectionTypes` list.Add an element to `allowedConnectionTypes` list.Add all elements to `requestedAccess` list.Add an element to `requestedAccess` 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.setAccount(String account) Required. The Account the ConnectionSession will create a connection for.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccount
Required. The Account the ConnectionSession will create a connection for. -
addAllowedConnectionType
public ConnectionSessionCreateParams.Builder addAllowedConnectionType(ConnectionSessionCreateParams.AllowedConnectionType element) 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. SeeConnectionSessionCreateParams.allowedConnectionTypesfor the field documentation. -
addAllAllowedConnectionType
public ConnectionSessionCreateParams.Builder addAllAllowedConnectionType(List<ConnectionSessionCreateParams.AllowedConnectionType> elements) 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. SeeConnectionSessionCreateParams.allowedConnectionTypesfor 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. SeeConnectionSessionCreateParams.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. SeeConnectionSessionCreateParams.extraParamsfor the field documentation. -
addRequestedAccess
public ConnectionSessionCreateParams.Builder addRequestedAccess(ConnectionSessionCreateParams.RequestedAccess element) 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. SeeConnectionSessionCreateParams.requestedAccessfor the field documentation. -
addAllRequestedAccess
public ConnectionSessionCreateParams.Builder addAllRequestedAccess(List<ConnectionSessionCreateParams.RequestedAccess> elements) 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. SeeConnectionSessionCreateParams.requestedAccessfor the field documentation.
-