Class SessionCreateTokenParams
-
- All Implemented Interfaces:
-
com.bennyapi.core.Params
public final class SessionCreateTokenParams implements Params
Creates a session token to authenticate mobile and web SDKs. Session tokens are short-lived, expiring after 1 hour.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionCreateTokenParams.BuilderA builder for SessionCreateTokenParams.
public final classSessionCreateTokenParams.Body
-
Method Summary
Modifier and Type Method Description final StringexternalUserId()Your organization's representation of the customer ID. final Optional<String>orderId()Your organization's representation of the order ID. final JsonField<String>_externalUserId()Returns the raw JSON value of externalUserId. final JsonField<String>_orderId()Returns the raw JSON value of orderId. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final SessionCreateTokenParams.BuildertoBuilder()final SessionCreateTokenParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionCreateTokenParams.Builderbuilder()Returns a mutable builder for constructing an instance of SessionCreateTokenParams. -
-
Method Detail
-
externalUserId
final String externalUserId()
Your organization's representation of the customer ID.
-
_externalUserId
final JsonField<String> _externalUserId()
Returns the raw JSON value of externalUserId.
Unlike externalUserId, this method doesn't throw if the JSON field has an unexpected type.
-
_orderId
final JsonField<String> _orderId()
Returns the raw JSON value of orderId.
Unlike orderId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final SessionCreateTokenParams.Builder toBuilder()
-
_body
final SessionCreateTokenParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static SessionCreateTokenParams.Builder builder()
Returns a mutable builder for constructing an instance of SessionCreateTokenParams.
The following fields are required:
.externalUserId()
-
-
-
-