java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.Device
This class contains minFraud response data related to the device.
In order to receive device output from minFraud Insights or minFraud Factors, you must be using the Device Tracking Add-on.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
Constructor Details
-
Device
- Parameters:
confidence
- The device confidence.id
- The device ID.lastSeen
- When the device was last seen.localTime
- The local time of the device.
-
Device
public Device()Constructor forDevice
.
-
-
Method Details
-
getConfidence
- Returns:
- a number representing the confidence that the device ID refers to a unique device as opposed to a cluster of similar devices. A confidence of 0.01 indicates very low confidence that the device is unique, whereas 99 indicates very high confidence.
-
getId
- Returns:
- A UUID identifying the device associated with this IP address.
-
getLastSeen
- Returns:
- The date and time of the last sighting of the device. This is an RFC 3339 date-time.
-
getLastSeenDateTime
- Returns:
- The date and time of the last sighting of the device as a
ZonedDateTime
.
-
getLocalTime
- Returns:
- The date and time of the transaction at the UTC offset associated with the device. This is an RFC 3339 date-time.
-
getLocalDateTime
- Returns:
- The date and time of the transaction at the UTC offset associated with the device as
a
ZonedDateTime
.
-