Package com.maxmind.minfraud.response
Class Device
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.response.Device
-
public final class Device extends AbstractModel
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:
- Device Tracking Add-on
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getConfidence()
UUID
getId()
String
getLastSeen()
ZonedDateTime
getLastSeenDateTime()
ZonedDateTime
getLocalDateTime()
String
getLocalTime()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getConfidence
public Double 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
public UUID getId()
- Returns:
- A UUID identifying the device associated with this IP address. Note that many devices cannot be uniquely identified because they are too common (for example, all iPhones of a given model and OS release).
-
getLastSeen
public String getLastSeen()
- Returns:
- The date and time of the last sighting of the device. This is an RFC 3339 date-time.
-
getLastSeenDateTime
public ZonedDateTime getLastSeenDateTime()
- Returns:
- The date and time of the last sighting of the device as a
ZonedDateTime
.
-
getLocalTime
public String 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
public ZonedDateTime getLocalDateTime()
- Returns:
- The date and time of the transaction at the UTC offset
associated with the device as a
ZonedDateTime
.
-
-