Class Tokenization.TokenizationEvent.Builder
-
- All Implemented Interfaces:
public final class Tokenization.TokenizationEvent.BuilderA builder for TokenizationEvent.
-
-
Method Summary
-
-
Method Detail
-
token
final Tokenization.TokenizationEvent.Builder token(String token)
Globally unique identifier for a Tokenization Event
-
token
final Tokenization.TokenizationEvent.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final Tokenization.TokenizationEvent.Builder createdAt(OffsetDateTime createdAt)
Date and time when the tokenization event first occurred. UTC time zone.
-
createdAt
final Tokenization.TokenizationEvent.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
result
final Tokenization.TokenizationEvent.Builder result(Tokenization.TokenizationEvent.Result result)
Enum representing the result of the tokenization event
-
result
final Tokenization.TokenizationEvent.Builder result(JsonField<Tokenization.TokenizationEvent.Result> result)
Sets Builder.result to an arbitrary JSON value.
You should usually call Builder.result with a well-typed Result value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final Tokenization.TokenizationEvent.Builder type(Tokenization.TokenizationEvent.Type type)
Enum representing the type of tokenization event that occurred
-
type
final Tokenization.TokenizationEvent.Builder type(JsonField<Tokenization.TokenizationEvent.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Tokenization.TokenizationEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Tokenization.TokenizationEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Tokenization.TokenizationEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Tokenization.TokenizationEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Tokenization.TokenizationEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Tokenization.TokenizationEvent build()
Returns an immutable instance of TokenizationEvent.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-