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 Details

    • ScoreIpAddress

      public ScoreIpAddress(Double risk)
    • ScoreIpAddress

      public ScoreIpAddress()
  • Method Details

    • getRisk

      public Double getRisk()
      Specified by:
      getRisk in interface IpAddressInterface
      Returns:
      The risk associated with the IP address. The value ranges from 0.01 to 99. A higher score indicates a higher risk.