Class ScoreIpAddress
Model containing the IP address's risk for the Score response.
-
MaxMind\MinFraud\Model\AbstractModel
implements
JsonSerializable
-
MaxMind\MinFraud\Model\ScoreIpAddress
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
MaxMind\MinFraud\Model\AbstractModel::__construct()
|
Methods inherited from MaxMind\MinFraud\Model\AbstractModel
__get(),
__isset(),
jsonSerialize(),
safeArrayLookup()
|
Magic properties summary
public read-only
float
|
$risk
This field contains the risk associated with the IP address. The value ranges from 0.01 to 99. A higher score indicates a higher risk.
|