java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.RiskScoreReason
This class represents a risk score multiplier and reasons for that multiplier.
-
Constructor Summary
ConstructorsConstructorDescriptionRiskScoreReason
(Double multiplier, List<Reason> reasons) Constructor forRiskScoreReason
. -
Method Summary
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
Constructor Details
-
RiskScoreReason
Constructor forRiskScoreReason
.- Parameters:
multiplier
- The multiplier.reasons
- The reasons.
-
-
Method Details
-
getMultiplier
- Returns:
- The factor by which the risk score is increased (if the value is greater than 1) or decreased (if the value is less than 1) for given risk reason(s). Multipliers greater than 1.5 and less than 0.66 are considered significant and lead to risk reason(s) being present.
-
getReasons
- Returns:
- An unmodifiable list containing objects that describe one of the reasons for the multiplier. This will be an empty list if there are no reasons.
-