Class FraudScore

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.numberinsight2.FraudScore
All Implemented Interfaces:
Jsonable

public class FraudScore extends JsonableBaseObject
Represents the fraud score insight results in FraudCheckResponse.getFraudScore().
  • Constructor Details

  • 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

      public RiskLabel 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.