Class Tokenization.Builder
-
- All Implemented Interfaces:
public final class Tokenization.BuilderA builder for Tokenization.
-
-
Method Summary
Modifier and Type Method Description final Tokenization.Buildertoken(String token)Globally unique identifier for a Tokenization final Tokenization.Buildertoken(JsonField<String> token)Sets Builder.token to an arbitrary JSON value. final Tokenization.BuilderaccountToken(String accountToken)The account token associated with the card being tokenized. final Tokenization.BuilderaccountToken(JsonField<String> accountToken)Sets Builder.accountToken to an arbitrary JSON value. final Tokenization.BuildercardToken(String cardToken)The card token associated with the card being tokenized. final Tokenization.BuildercardToken(JsonField<String> cardToken)Sets Builder.cardToken to an arbitrary JSON value. final Tokenization.BuildercreatedAt(OffsetDateTime createdAt)Date and time when the tokenization first occurred. final Tokenization.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final Tokenization.Builderdpan(String dpan)The dynamic pan assigned to the token by the network. final Tokenization.Builderdpan(Optional<String> dpan)Alias for calling Builder.dpan with dpan.orElse(null).final Tokenization.Builderdpan(JsonField<String> dpan)Sets Builder.dpan to an arbitrary JSON value. final Tokenization.Builderstatus(Tokenization.Status status)The status of the tokenization request final Tokenization.Builderstatus(JsonField<Tokenization.Status> status)Sets Builder.status to an arbitrary JSON value. final Tokenization.BuildertokenRequestorName(Tokenization.TokenRequestorName tokenRequestorName)The entity that requested the tokenization. final Tokenization.BuildertokenRequestorName(JsonField<Tokenization.TokenRequestorName> tokenRequestorName)Sets Builder.tokenRequestorName to an arbitrary JSON value. final Tokenization.BuildertokenUniqueReference(String tokenUniqueReference)The network's unique reference for the tokenization. final Tokenization.BuildertokenUniqueReference(JsonField<String> tokenUniqueReference)Sets Builder.tokenUniqueReference to an arbitrary JSON value. final Tokenization.BuildertokenizationChannel(Tokenization.TokenizationChannel tokenizationChannel)The channel through which the tokenization was made. final Tokenization.BuildertokenizationChannel(JsonField<Tokenization.TokenizationChannel> tokenizationChannel)Sets Builder.tokenizationChannel to an arbitrary JSON value. final Tokenization.BuilderupdatedAt(OffsetDateTime updatedAt)Latest date and time when the tokenization was updated. final Tokenization.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final Tokenization.BuilderdigitalCardArtToken(String digitalCardArtToken)Specifies the digital card art displayed in the user’s digital wallet after tokenization. final Tokenization.BuilderdigitalCardArtToken(JsonField<String> digitalCardArtToken)Sets Builder.digitalCardArtToken to an arbitrary JSON value. final Tokenization.Builderevents(List<Tokenization.TokenizationEvent> events)A list of events related to the tokenization. final Tokenization.Builderevents(JsonField<List<Tokenization.TokenizationEvent>> events)Sets Builder.events to an arbitrary JSON value. final Tokenization.BuilderaddEvent(Tokenization.TokenizationEvent event)Adds a single TokenizationEvent to events. final Tokenization.BuilderpaymentAccountReferenceId(String paymentAccountReferenceId)The network's unique reference for the card that is tokenized. final Tokenization.BuilderpaymentAccountReferenceId(Optional<String> paymentAccountReferenceId)Alias for calling Builder.paymentAccountReferenceId with paymentAccountReferenceId.orElse(null).final Tokenization.BuilderpaymentAccountReferenceId(JsonField<String> paymentAccountReferenceId)Sets Builder.paymentAccountReferenceId to an arbitrary JSON value. final Tokenization.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Tokenization.BuilderputAdditionalProperty(String key, JsonValue value)final Tokenization.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Tokenization.BuilderremoveAdditionalProperty(String key)final Tokenization.BuilderremoveAllAdditionalProperties(Set<String> keys)final Tokenizationbuild()Returns an immutable instance of Tokenization. -
-
Method Detail
-
token
final Tokenization.Builder token(String token)
Globally unique identifier for a Tokenization
-
token
final Tokenization.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.
-
accountToken
final Tokenization.Builder accountToken(String accountToken)
The account token associated with the card being tokenized.
-
accountToken
final Tokenization.Builder accountToken(JsonField<String> accountToken)
Sets Builder.accountToken to an arbitrary JSON value.
You should usually call Builder.accountToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cardToken
final Tokenization.Builder cardToken(String cardToken)
The card token associated with the card being tokenized.
-
cardToken
final Tokenization.Builder cardToken(JsonField<String> cardToken)
Sets Builder.cardToken to an arbitrary JSON value.
You should usually call Builder.cardToken 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.Builder createdAt(OffsetDateTime createdAt)
Date and time when the tokenization first occurred. UTC time zone.
-
createdAt
final Tokenization.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.
-
dpan
final Tokenization.Builder dpan(String dpan)
The dynamic pan assigned to the token by the network.
-
dpan
final Tokenization.Builder dpan(Optional<String> dpan)
Alias for calling Builder.dpan with
dpan.orElse(null).
-
dpan
final Tokenization.Builder dpan(JsonField<String> dpan)
Sets Builder.dpan to an arbitrary JSON value.
You should usually call Builder.dpan with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final Tokenization.Builder status(Tokenization.Status status)
The status of the tokenization request
-
status
final Tokenization.Builder status(JsonField<Tokenization.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenRequestorName
final Tokenization.Builder tokenRequestorName(Tokenization.TokenRequestorName tokenRequestorName)
The entity that requested the tokenization. Represents a Digital Wallet or merchant.
-
tokenRequestorName
final Tokenization.Builder tokenRequestorName(JsonField<Tokenization.TokenRequestorName> tokenRequestorName)
Sets Builder.tokenRequestorName to an arbitrary JSON value.
You should usually call Builder.tokenRequestorName with a well-typed TokenRequestorName value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenUniqueReference
final Tokenization.Builder tokenUniqueReference(String tokenUniqueReference)
The network's unique reference for the tokenization.
-
tokenUniqueReference
final Tokenization.Builder tokenUniqueReference(JsonField<String> tokenUniqueReference)
Sets Builder.tokenUniqueReference to an arbitrary JSON value.
You should usually call Builder.tokenUniqueReference with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenizationChannel
final Tokenization.Builder tokenizationChannel(Tokenization.TokenizationChannel tokenizationChannel)
The channel through which the tokenization was made.
-
tokenizationChannel
final Tokenization.Builder tokenizationChannel(JsonField<Tokenization.TokenizationChannel> tokenizationChannel)
Sets Builder.tokenizationChannel to an arbitrary JSON value.
You should usually call Builder.tokenizationChannel with a well-typed TokenizationChannel value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final Tokenization.Builder updatedAt(OffsetDateTime updatedAt)
Latest date and time when the tokenization was updated. UTC time zone.
-
updatedAt
final Tokenization.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
digitalCardArtToken
final Tokenization.Builder digitalCardArtToken(String digitalCardArtToken)
Specifies the digital card art displayed in the user’s digital wallet after tokenization. This will be null if the tokenization was created without an associated digital card art. See Flexible Card Art Guide.
-
digitalCardArtToken
final Tokenization.Builder digitalCardArtToken(JsonField<String> digitalCardArtToken)
Sets Builder.digitalCardArtToken to an arbitrary JSON value.
You should usually call Builder.digitalCardArtToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
events
final Tokenization.Builder events(List<Tokenization.TokenizationEvent> events)
A list of events related to the tokenization.
-
events
final Tokenization.Builder events(JsonField<List<Tokenization.TokenizationEvent>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<TokenizationEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final Tokenization.Builder addEvent(Tokenization.TokenizationEvent event)
Adds a single TokenizationEvent to events.
-
paymentAccountReferenceId
final Tokenization.Builder paymentAccountReferenceId(String paymentAccountReferenceId)
The network's unique reference for the card that is tokenized.
-
paymentAccountReferenceId
final Tokenization.Builder paymentAccountReferenceId(Optional<String> paymentAccountReferenceId)
Alias for calling Builder.paymentAccountReferenceId with
paymentAccountReferenceId.orElse(null).
-
paymentAccountReferenceId
final Tokenization.Builder paymentAccountReferenceId(JsonField<String> paymentAccountReferenceId)
Sets Builder.paymentAccountReferenceId to an arbitrary JSON value.
You should usually call Builder.paymentAccountReferenceId 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 Tokenization.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Tokenization.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Tokenization.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Tokenization.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Tokenization.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Tokenization build()
Returns an immutable instance of Tokenization.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .accountToken() .cardToken() .createdAt() .dpan() .status() .tokenRequestorName() .tokenUniqueReference() .tokenizationChannel() .updatedAt()
-
-
-
-