Package com.maxmind.minfraud.response
Class ShippingAddress
- java.lang.Object
-
- com.maxmind.minfraud.AbstractModel
-
- com.maxmind.minfraud.response.AbstractAddress
-
- com.maxmind.minfraud.response.ShippingAddress
-
public final class ShippingAddress extends AbstractAddress
This class contains minFraud response data related to the shipping address.
-
-
Constructor Summary
Constructors Constructor Description ShippingAddress()
ShippingAddress(Integer distanceToBillingAddress, Integer distanceToIpLocation, Boolean isHighRisk, Boolean isInIpCountry, Boolean isPostalInCity, Double latitude, Double longitude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getDistanceToBillingAddress()
Boolean
isHighRisk()
-
Methods inherited from class com.maxmind.minfraud.response.AbstractAddress
getDistanceToIpLocation, getLatitude, getLongitude, isInIpCountry, isPostalInCity
-
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
-
-
-
Method Detail
-
isHighRisk
public Boolean isHighRisk()
- Returns:
- This returns true if the shipping address is an address associated with fraudulent transactions. It returns false when the address is not associated with increased risk. If the address could not be parsed or was not provided, null is returned.
-
getDistanceToBillingAddress
public Integer getDistanceToBillingAddress()
- Returns:
- The distance in kilometers from the shipping address to billing address.
-
-