Class ShippingAddress
Model containing properties of the shipping address.
-
MaxMind\MinFraud\Model\AbstractModel
implements
JsonSerializable
-
MaxMind\MinFraud\Model\Address
-
MaxMind\MinFraud\Model\ShippingAddress
Methods summary
public
|
#
__construct( array $response, array $locales = ['en'] )
Parameters
- $response
the array corresponding to the object in the
minFraud Insights response
- $locales
list of locale codes to use in name property from
most preferred to least preferred
Overrides
|
Methods inherited from MaxMind\MinFraud\Model\AbstractModel
__get(),
__isset(),
jsonSerialize(),
safeArrayLookup()
|
Magic properties summary
public read-only
integer|null
|
$distanceToBillingAddress
The distance in kilometers from the shipping address to billing address.
|
public read-only
boolean|null
|
$isHighRisk
This property is true if the shipping address is in the IP country. The property is false when the address is not in the IP country. If the shipping address could not be parsed or was not provided or the IP address could not be geolocated, then the property is null.
|