java.lang.Object
com.maxmind.minfraud.response.ScoreIpAddress
- All Implemented Interfaces:
IpAddressInterface
This class contains the IP address risk.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor forScoreResponse
.ScoreIpAddress
(Double risk) Constructor forScoreResponse
. -
Method Summary
-
Constructor Details
-
ScoreIpAddress
Constructor forScoreResponse
.- Parameters:
risk
- The risk associated with the IP address.
-
ScoreIpAddress
public ScoreIpAddress()Constructor forScoreResponse
.
-
-
Method Details
-
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.
-