Class TokenizationSimulateParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class TokenizationSimulateParams implements Params
This endpoint is used to simulate a card's tokenization in the Digital Wallet and merchant tokenization ecosystem.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTokenizationSimulateParams.BuilderA builder for TokenizationSimulateParams.
public final classTokenizationSimulateParams.Bodypublic final classTokenizationSimulateParams.TokenizationSourceThe source of the tokenization request.
public final classTokenizationSimulateParams.WalletRecommendedDecisionThe decision that the Digital Wallet's recommend
-
Method Summary
Modifier and Type Method Description final Stringcvv()The three digit cvv for the card. final StringexpirationDate()The expiration date of the card in 'MM/YY' format. final Stringpan()The sixteen digit card number. final TokenizationSimulateParams.TokenizationSourcetokenizationSource()The source of the tokenization request. final Optional<Long>accountScore()The account score (1-5) that represents how the Digital Wallet's view on how reputable an end user's account is. final Optional<Long>deviceScore()The device score (1-5) that represents how the Digital Wallet's view on how reputable an end user's device is. final Optional<String>entity()Optional field to specify the token requestor name for a merchant token simulation. final Optional<TokenizationSimulateParams.WalletRecommendedDecision>walletRecommendedDecision()The decision that the Digital Wallet's recommend final JsonField<String>_cvv()Returns the raw JSON value of cvv. final JsonField<String>_expirationDate()Returns the raw JSON value of expirationDate. final JsonField<String>_pan()Returns the raw JSON value of pan. final JsonField<TokenizationSimulateParams.TokenizationSource>_tokenizationSource()Returns the raw JSON value of tokenizationSource. final JsonField<Long>_accountScore()Returns the raw JSON value of accountScore. final JsonField<Long>_deviceScore()Returns the raw JSON value of deviceScore. final JsonField<String>_entity()Returns the raw JSON value of entity. final JsonField<TokenizationSimulateParams.WalletRecommendedDecision>_walletRecommendedDecision()Returns the raw JSON value of walletRecommendedDecision. 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 TokenizationSimulateParams.BuildertoBuilder()final TokenizationSimulateParams.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 TokenizationSimulateParams.Builderbuilder()Returns a mutable builder for constructing an instance of TokenizationSimulateParams. -
-
Method Detail
-
expirationDate
final String expirationDate()
The expiration date of the card in 'MM/YY' format.
-
tokenizationSource
final TokenizationSimulateParams.TokenizationSource tokenizationSource()
The source of the tokenization request.
-
accountScore
final Optional<Long> accountScore()
The account score (1-5) that represents how the Digital Wallet's view on how reputable an end user's account is.
-
deviceScore
final Optional<Long> deviceScore()
The device score (1-5) that represents how the Digital Wallet's view on how reputable an end user's device is.
-
entity
final Optional<String> entity()
Optional field to specify the token requestor name for a merchant token simulation. Ignored when tokenization_source is not MERCHANT.
-
walletRecommendedDecision
final Optional<TokenizationSimulateParams.WalletRecommendedDecision> walletRecommendedDecision()
The decision that the Digital Wallet's recommend
-
_cvv
final JsonField<String> _cvv()
Returns the raw JSON value of cvv.
Unlike cvv, this method doesn't throw if the JSON field has an unexpected type.
-
_expirationDate
final JsonField<String> _expirationDate()
Returns the raw JSON value of expirationDate.
Unlike expirationDate, this method doesn't throw if the JSON field has an unexpected type.
-
_pan
final JsonField<String> _pan()
Returns the raw JSON value of pan.
Unlike pan, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenizationSource
final JsonField<TokenizationSimulateParams.TokenizationSource> _tokenizationSource()
Returns the raw JSON value of tokenizationSource.
Unlike tokenizationSource, this method doesn't throw if the JSON field has an unexpected type.
-
_accountScore
final JsonField<Long> _accountScore()
Returns the raw JSON value of accountScore.
Unlike accountScore, this method doesn't throw if the JSON field has an unexpected type.
-
_deviceScore
final JsonField<Long> _deviceScore()
Returns the raw JSON value of deviceScore.
Unlike deviceScore, this method doesn't throw if the JSON field has an unexpected type.
-
_entity
final JsonField<String> _entity()
Returns the raw JSON value of entity.
Unlike entity, this method doesn't throw if the JSON field has an unexpected type.
-
_walletRecommendedDecision
final JsonField<TokenizationSimulateParams.WalletRecommendedDecision> _walletRecommendedDecision()
Returns the raw JSON value of walletRecommendedDecision.
Unlike walletRecommendedDecision, 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 TokenizationSimulateParams.Builder toBuilder()
-
_body
final TokenizationSimulateParams.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 TokenizationSimulateParams.Builder builder()
Returns a mutable builder for constructing an instance of TokenizationSimulateParams.
The following fields are required:
.cvv() .expirationDate() .pan() .tokenizationSource()
-
-
-
-