Package com.maxmind.minfraud.response
Class IpAddress
- java.lang.Object
 - 
- com.maxmind.geoip2.model.AbstractResponse
 - 
- com.maxmind.geoip2.model.AbstractCountryResponse
 - 
- com.maxmind.geoip2.model.AbstractCityResponse
 - 
- com.maxmind.geoip2.model.InsightsResponse
 - 
- com.maxmind.minfraud.response.IpAddress
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 IpAddressInterface
public final class IpAddress extends com.maxmind.geoip2.model.InsightsResponse implements IpAddressInterface
This class contains minFraud response data related to the IP location 
- 
- 
Constructor Summary
Constructors Constructor Description IpAddress()IpAddress(com.maxmind.geoip2.record.City city, com.maxmind.geoip2.record.Continent continent, GeoIp2Country country, GeoIp2Location location, com.maxmind.geoip2.record.MaxMind maxmind, com.maxmind.geoip2.record.Postal postal, com.maxmind.geoip2.record.Country registeredCountry, com.maxmind.geoip2.record.RepresentedCountry representedCountry, Double risk, List<com.maxmind.geoip2.record.Subdivision> subdivisions, com.maxmind.geoip2.record.Traits traits) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoIp2CountrygetCountry()GeoIp2LocationgetLocation()DoublegetRisk()- 
Methods inherited from class com.maxmind.geoip2.model.AbstractCityResponse
getCity, getLeastSpecificSubdivision, getMostSpecificSubdivision, getPostal, getSubdivisions 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
IpAddress
public IpAddress(com.maxmind.geoip2.record.City city, com.maxmind.geoip2.record.Continent continent, GeoIp2Country country, GeoIp2Location location, com.maxmind.geoip2.record.MaxMind maxmind, com.maxmind.geoip2.record.Postal postal, com.maxmind.geoip2.record.Country registeredCountry, com.maxmind.geoip2.record.RepresentedCountry representedCountry, Double risk, List<com.maxmind.geoip2.record.Subdivision> subdivisions, com.maxmind.geoip2.record.Traits traits) 
- 
IpAddress
public IpAddress()
 
 - 
 
- 
Method Detail
- 
getCountry
public GeoIp2Country getCountry()
- Overrides:
 getCountryin classcom.maxmind.geoip2.model.AbstractCountryResponse- Returns:
 - Country record for the requested IP address. This object represents the country where MaxMind believes the end user is located.
 
 
- 
getLocation
public GeoIp2Location getLocation()
- Overrides:
 getLocationin classcom.maxmind.geoip2.model.AbstractCityResponse- Returns:
 - Location record for the requested IP address.
 
 
- 
getRisk
public Double getRisk()
- Specified by:
 getRiskin interfaceIpAddressInterface- Returns:
 - The risk associated with the IP address. The value ranges from 0.01 to 99. A higher score indicates a higher risk.
 
 
 - 
 
 -