Class AuthenticationRetrieveResponse.AdditionalData.Builder
-
- All Implemented Interfaces:
public final class AuthenticationRetrieveResponse.AdditionalData.BuilderA builder for AdditionalData.
-
-
Method Summary
-
-
Method Detail
-
networkDecision
final AuthenticationRetrieveResponse.AdditionalData.Builder networkDecision(AuthenticationRetrieveResponse.AdditionalData.NetworkDecision networkDecision)
Mastercard only: Indicates whether the network would have considered the authentication request to be low risk or not.
-
networkDecision
final AuthenticationRetrieveResponse.AdditionalData.Builder networkDecision(Optional<AuthenticationRetrieveResponse.AdditionalData.NetworkDecision> networkDecision)
Alias for calling Builder.networkDecision with
networkDecision.orElse(null).
-
networkDecision
final AuthenticationRetrieveResponse.AdditionalData.Builder networkDecision(JsonField<AuthenticationRetrieveResponse.AdditionalData.NetworkDecision> networkDecision)
Sets Builder.networkDecision to an arbitrary JSON value.
You should usually call Builder.networkDecision with a well-typed NetworkDecision value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
networkRiskScore
final AuthenticationRetrieveResponse.AdditionalData.Builder networkRiskScore(Long networkRiskScore)
Mastercard only: Assessment by the network of the authentication risk level, with a higher value indicating a higher amount of risk. Permitted values: Integer between 0-950, in increments of 50.
-
networkRiskScore
final AuthenticationRetrieveResponse.AdditionalData.Builder networkRiskScore(Long networkRiskScore)
Alias for Builder.networkRiskScore.
This unboxed primitive overload exists for backwards compatibility.
-
networkRiskScore
final AuthenticationRetrieveResponse.AdditionalData.Builder networkRiskScore(Optional<Long> networkRiskScore)
Alias for calling Builder.networkRiskScore with
networkRiskScore.orElse(null).
-
networkRiskScore
final AuthenticationRetrieveResponse.AdditionalData.Builder networkRiskScore(JsonField<Long> networkRiskScore)
Sets Builder.networkRiskScore to an arbitrary JSON value.
You should usually call Builder.networkRiskScore with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AuthenticationRetrieveResponse.AdditionalData.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthenticationRetrieveResponse.AdditionalData.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthenticationRetrieveResponse.AdditionalData.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthenticationRetrieveResponse.AdditionalData.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthenticationRetrieveResponse.AdditionalData.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuthenticationRetrieveResponse.AdditionalData build()
Returns an immutable instance of AdditionalData.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-