Package com.maxmind.minfraud.response
Class GeoIp2Country
- java.lang.Object
-
- com.maxmind.geoip2.record.AbstractRecord
-
- com.maxmind.geoip2.record.AbstractNamedRecord
-
- com.maxmind.geoip2.record.Country
-
- com.maxmind.minfraud.response.GeoIp2Country
-
public final class GeoIp2Country extends com.maxmind.geoip2.record.Country
This class contains minFraud response data related to the GeoIP2 Insights country.
-
-
Constructor Summary
Constructors Constructor Description GeoIp2Country()
GeoIp2Country(List<String> locales, Integer confidence, Integer geoNameId, boolean isHighRisk, boolean isInEuropeanUnion, String isoCode, Map<String,String> names)
GeoIp2Country(List<String> locales, Integer confidence, Integer geoNameId, boolean isHighRisk, String isoCode, Map<String,String> names)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isHighRisk()
Deprecated.Deprecated effective August 29, 2019.-
Methods inherited from class com.maxmind.geoip2.record.Country
getConfidence, getIsoCode, isInEuropeanUnion
-
-
-
-
Constructor Detail
-
GeoIp2Country
public GeoIp2Country(List<String> locales, Integer confidence, Integer geoNameId, boolean isHighRisk, String isoCode, Map<String,String> names)
-
GeoIp2Country
public GeoIp2Country(List<String> locales, Integer confidence, Integer geoNameId, boolean isHighRisk, boolean isInEuropeanUnion, String isoCode, Map<String,String> names)
-
GeoIp2Country
public GeoIp2Country()
-
-
Method Detail
-
isHighRisk
@Deprecated public boolean isHighRisk()
Deprecated.Deprecated effective August 29, 2019.- Returns:
- This value is true if the IP country is high risk.
-
-