Package com.bennyapi.models.sessions
Class SessionCreateTokenParams.Body.Builder
-
- All Implemented Interfaces:
public final class SessionCreateTokenParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
externalUserId
final SessionCreateTokenParams.Body.Builder externalUserId(String externalUserId)
Your organization's representation of the customer ID.
-
externalUserId
final SessionCreateTokenParams.Body.Builder externalUserId(JsonField<String> externalUserId)
Sets Builder.externalUserId to an arbitrary JSON value.
You should usually call Builder.externalUserId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderId
final SessionCreateTokenParams.Body.Builder orderId(String orderId)
Your organization's representation of the order ID.
-
orderId
final SessionCreateTokenParams.Body.Builder orderId(JsonField<String> orderId)
Sets Builder.orderId to an arbitrary JSON value.
You should usually call Builder.orderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionCreateTokenParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionCreateTokenParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionCreateTokenParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionCreateTokenParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionCreateTokenParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionCreateTokenParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.externalUserId()
-
-
-
-