Package com.vonage.client.numberinsight2
Class FraudScore
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.numberinsight2.FraudScore
- All Implemented Interfaces:
Jsonable
Represents the fraud score insight results in
FraudCheckResponse.getFraudScore().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Mapping of risk score to a verbose description.Recommended action based on the risk score.Score derived from evaluating fraud-related data associated with the phone number.Status of the fraud score API call.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
FraudScore
protected FraudScore()
-
-
Method Details
-
getRiskScore
Score derived from evaluating fraud-related data associated with the phone number. This ranges from 0-100, with 0 meaning least risk and 100 meaning highest risk.- Returns:
- The risk score as an Integer between 0 and 100.
-
getRiskRecommendation
Recommended action based on the risk score.- Returns:
- The recommendation as an enum.
-
getLabel
Mapping of risk score to a verbose description.- Returns:
- The risk label as an enum.
-
getStatus
Status of the fraud score API call.- Returns:
- The insight status as an enum.
-