java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.AbstractAddress
- Direct Known Subclasses:
BillingAddress
,ShippingAddress
This class contains minFraud response data related to the shipping and billing address.
-
Method Details
-
isInIpCountry
- Returns:
- This returns true if the address is in the IP country. It is false when the address is not in the IP country. If the address could not be parsed or was not provided or the IP address could not be geolocated, then null will be returned.
-
getLatitude
- Returns:
- The latitude associated with the address. This will be null if there is no value in the response.
-
getLongitude
- Returns:
- The longitude associated with the address. This will be null if there is no value in the response.
-
getDistanceToIpLocation
- Returns:
- The distance in kilometers from the address to the IP location in kilometers. This will be null if there is no value in the response.
-
isPostalInCity
- Returns:
- This will return true if the postal code provided with the address is in the city for the address. It will return false when the postal code is not in the city. If the address was not provided or could not be parsed, null will be returned.
-