Class WatchPredictParams.Signals
-
- All Implemented Interfaces:
public final class WatchPredictParams.Signals
The signals used for anti-fraud. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
WatchPredictParams.Signals.Builder
A builder for Signals.
public final class
WatchPredictParams.Signals.DevicePlatform
The type of the user's device.
-
Method Summary
Modifier and Type Method Description final Optional<String>
appVersion()
The version of your application. final Optional<String>
deviceId()
The unique identifier for the user's device. final Optional<String>
deviceModel()
The model of the user's device. final Optional<WatchPredictParams.Signals.DevicePlatform>
devicePlatform()
The type of the user's device. final Optional<String>
ip()
The IP address of the user's device. final Optional<Boolean>
isTrustedUser()
This signal should provide a higher level of trust, indicating that the user is genuine. final Optional<String>
ja4Fingerprint()
The JA4 fingerprint observed for the connection. final Optional<String>
osVersion()
The version of the user's device operating system. final Optional<String>
userAgent()
The user agent of the user's device. final JsonField<String>
_appVersion()
Returns the raw JSON value of appVersion. final JsonField<String>
_deviceId()
Returns the raw JSON value of deviceId. final JsonField<String>
_deviceModel()
Returns the raw JSON value of deviceModel. final JsonField<WatchPredictParams.Signals.DevicePlatform>
_devicePlatform()
Returns the raw JSON value of devicePlatform. final JsonField<String>
_ip()
Returns the raw JSON value of ip. final JsonField<Boolean>
_isTrustedUser()
Returns the raw JSON value of isTrustedUser. final JsonField<String>
_ja4Fingerprint()
Returns the raw JSON value of ja4Fingerprint. final JsonField<String>
_osVersion()
Returns the raw JSON value of osVersion. final JsonField<String>
_userAgent()
Returns the raw JSON value of userAgent. final Map<String, JsonValue>
_additionalProperties()
final WatchPredictParams.Signals.Builder
toBuilder()
final WatchPredictParams.Signals
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static WatchPredictParams.Signals.Builder
builder()
Returns a mutable builder for constructing an instance of Signals. -
-
Method Detail
-
appVersion
final Optional<String> appVersion()
The version of your application.
-
deviceId
final Optional<String> deviceId()
The unique identifier for the user's device. For Android, this corresponds to the
ANDROID_ID
and for iOS, this corresponds to theidentifierForVendor
.
-
deviceModel
final Optional<String> deviceModel()
The model of the user's device.
-
devicePlatform
final Optional<WatchPredictParams.Signals.DevicePlatform> devicePlatform()
The type of the user's device.
-
isTrustedUser
final Optional<Boolean> isTrustedUser()
This signal should provide a higher level of trust, indicating that the user is genuine. Contact us to discuss your use case. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
ja4Fingerprint
final Optional<String> ja4Fingerprint()
The JA4 fingerprint observed for the connection. Prelude will infer it automatically when requests go through our client SDK (which uses Prelude's edge), but you can also provide it explicitly if you terminate TLS yourself.
-
userAgent
final Optional<String> userAgent()
The user agent of the user's device. If the individual fields (os_version, device_platform, device_model) are provided, we will prioritize those values instead of parsing them from the user agent string.
-
_appVersion
final JsonField<String> _appVersion()
Returns the raw JSON value of appVersion.
Unlike appVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_deviceId
final JsonField<String> _deviceId()
Returns the raw JSON value of deviceId.
Unlike deviceId, this method doesn't throw if the JSON field has an unexpected type.
-
_deviceModel
final JsonField<String> _deviceModel()
Returns the raw JSON value of deviceModel.
Unlike deviceModel, this method doesn't throw if the JSON field has an unexpected type.
-
_devicePlatform
final JsonField<WatchPredictParams.Signals.DevicePlatform> _devicePlatform()
Returns the raw JSON value of devicePlatform.
Unlike devicePlatform, this method doesn't throw if the JSON field has an unexpected type.
-
_ip
final JsonField<String> _ip()
Returns the raw JSON value of ip.
Unlike ip, this method doesn't throw if the JSON field has an unexpected type.
-
_isTrustedUser
final JsonField<Boolean> _isTrustedUser()
Returns the raw JSON value of isTrustedUser.
Unlike isTrustedUser, this method doesn't throw if the JSON field has an unexpected type.
-
_ja4Fingerprint
final JsonField<String> _ja4Fingerprint()
Returns the raw JSON value of ja4Fingerprint.
Unlike ja4Fingerprint, this method doesn't throw if the JSON field has an unexpected type.
-
_osVersion
final JsonField<String> _osVersion()
Returns the raw JSON value of osVersion.
Unlike osVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_userAgent
final JsonField<String> _userAgent()
Returns the raw JSON value of userAgent.
Unlike userAgent, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WatchPredictParams.Signals.Builder toBuilder()
-
validate
final WatchPredictParams.Signals validate()
-
builder
final static WatchPredictParams.Signals.Builder builder()
Returns a mutable builder for constructing an instance of Signals.
-
-
-
-