Package com.bennyapi.models.sessions
Class SessionCreateTokenParams.Body
-
- All Implemented Interfaces:
public final class SessionCreateTokenParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionCreateTokenParams.Body.BuilderA builder for 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>_additionalProperties()final SessionCreateTokenParams.Body.BuildertoBuilder()final SessionCreateTokenParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionCreateTokenParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionCreateTokenParams.Body.Builder toBuilder()
-
validate
final SessionCreateTokenParams.Body validate()
-
builder
final static SessionCreateTokenParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.externalUserId()
-
-
-
-