Package com.maxmind.minfraud.response
Class ScoreIpAddress
- java.lang.Object
-
- com.maxmind.minfraud.response.ScoreIpAddress
-
- All Implemented Interfaces:
IpAddressInterface
public final class ScoreIpAddress extends Object implements IpAddressInterface
This class contains the IP address risk.
-
-
Constructor Summary
Constructors Constructor Description ScoreIpAddress()
ScoreIpAddress(Double risk)
-
-
-
Constructor Detail
-
ScoreIpAddress
public ScoreIpAddress(Double risk)
-
ScoreIpAddress
public ScoreIpAddress()
-
-
Method Detail
-
getRisk
public Double getRisk()
- Specified by:
getRisk
in interfaceIpAddressInterface
- Returns:
- The risk associated with the IP address. The value ranges from 0.01 to 99. A higher score indicates a higher risk.
-
-