Class VerificationCreateParams.Signals
-
- All Implemented Interfaces:
public final class VerificationCreateParams.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
VerificationCreateParams.Signals.Builder
A builder for Signals.
public final class
VerificationCreateParams.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<VerificationCreateParams.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>
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<VerificationCreateParams.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>
_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 VerificationCreateParams.Signals.Builder
toBuilder()
final VerificationCreateParams.Signals
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VerificationCreateParams.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<VerificationCreateParams.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. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
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<VerificationCreateParams.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.
-
_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 VerificationCreateParams.Signals.Builder toBuilder()
-
validate
final VerificationCreateParams.Signals validate()
-
builder
final static VerificationCreateParams.Signals.Builder builder()
Returns a mutable builder for constructing an instance of Signals.
-
-
-
-