Package com.maxmind.minfraud.request
Class Device
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.request.Device
-
public final class Device extends AbstractModel
The device information for the transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Device.Builder
Builder
creates instances ofDevice
from values set by the builder's methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAcceptLanguage()
InetAddress
getIpAddress()
Double
getSessionAge()
String
getSessionId()
String
getUserAgent()
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
getUserAgent
public String getUserAgent()
- Returns:
- The "User-Agent" header.
-
getAcceptLanguage
public String getAcceptLanguage()
- Returns:
- The "Accept-Language" header.
-
getSessionAge
public Double getSessionAge()
- Returns:
- The session age.
-
getSessionId
public String getSessionId()
- Returns:
- The session id.
-
getIpAddress
public InetAddress getIpAddress()
- Returns:
- The IP address used in the transaction.
-
-