\MaxMind\MinFraud\ModelScoreIpAddress

Model containing the IP address's risk for the Score response.

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
$risk
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$risk

$risk : float

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.

Type

normal

Methods

__construct()

__construct(mixed  $response, mixed  $locales = ['en']) : mixed

Parameters

mixed $response

the array corresponding to the object in the minFraud Insights response

mixed $locales

list of locale codes to use in name property from most preferred to least preferred

Returns

mixed

jsonSerialize()

jsonSerialize() : array

Returns

array —

data that can be serialized by json_encode