Class WatchPredictParams.Signals.Builder
-
- All Implemented Interfaces:
public final class WatchPredictParams.Signals.Builder
A builder for Signals.
-
-
Method Summary
-
-
Method Detail
-
appVersion
final WatchPredictParams.Signals.Builder appVersion(String appVersion)
The version of your application.
-
appVersion
final WatchPredictParams.Signals.Builder appVersion(JsonField<String> appVersion)
Sets Builder.appVersion to an arbitrary JSON value.
You should usually call Builder.appVersion with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deviceId
final WatchPredictParams.Signals.Builder deviceId(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
.
-
deviceId
final WatchPredictParams.Signals.Builder deviceId(JsonField<String> deviceId)
Sets Builder.deviceId to an arbitrary JSON value.
You should usually call Builder.deviceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deviceModel
final WatchPredictParams.Signals.Builder deviceModel(String deviceModel)
The model of the user's device.
-
deviceModel
final WatchPredictParams.Signals.Builder deviceModel(JsonField<String> deviceModel)
Sets Builder.deviceModel to an arbitrary JSON value.
You should usually call Builder.deviceModel with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
devicePlatform
final WatchPredictParams.Signals.Builder devicePlatform(WatchPredictParams.Signals.DevicePlatform devicePlatform)
The type of the user's device.
-
devicePlatform
final WatchPredictParams.Signals.Builder devicePlatform(JsonField<WatchPredictParams.Signals.DevicePlatform> devicePlatform)
Sets Builder.devicePlatform to an arbitrary JSON value.
You should usually call Builder.devicePlatform with a well-typed DevicePlatform value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ip
final WatchPredictParams.Signals.Builder ip(String ip)
The IP address of the user's device.
-
ip
final WatchPredictParams.Signals.Builder ip(JsonField<String> ip)
Sets Builder.ip to an arbitrary JSON value.
You should usually call Builder.ip with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isTrustedUser
final WatchPredictParams.Signals.Builder isTrustedUser(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.
-
isTrustedUser
final WatchPredictParams.Signals.Builder isTrustedUser(JsonField<Boolean> isTrustedUser)
Sets Builder.isTrustedUser to an arbitrary JSON value.
You should usually call Builder.isTrustedUser with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
osVersion
final WatchPredictParams.Signals.Builder osVersion(String osVersion)
The version of the user's device operating system.
-
osVersion
final WatchPredictParams.Signals.Builder osVersion(JsonField<String> osVersion)
Sets Builder.osVersion to an arbitrary JSON value.
You should usually call Builder.osVersion with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userAgent
final WatchPredictParams.Signals.Builder userAgent(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.
-
userAgent
final WatchPredictParams.Signals.Builder userAgent(JsonField<String> userAgent)
Sets Builder.userAgent to an arbitrary JSON value.
You should usually call Builder.userAgent 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 WatchPredictParams.Signals.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WatchPredictParams.Signals.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WatchPredictParams.Signals.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WatchPredictParams.Signals.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WatchPredictParams.Signals.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WatchPredictParams.Signals build()
Returns an immutable instance of Signals.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-