Score
in package
implements
JsonSerializable
Model of the Score response.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $disposition : Disposition
- $fundsRemaining : float
- $id : string
- $ipAddress : ScoreIpAddress
- $queriesRemaining : int
- $riskScore : float
- $warnings : array<string|int, Warning>
Methods
- __construct() : mixed
- jsonSerialize() : array<string, mixed>
Properties
$disposition read-only
public
Disposition
$disposition
an object containing the disposition set by custom rules
$fundsRemaining read-only
public
float
$fundsRemaining
the approximate US dollar value of the funds remaining on your MaxMind account
$id read-only
public
string
$id
This is a UUID that identifies the minFraud request. Please use this ID in bug reports or support requests to MaxMind so that we can easily identify a particular request.
$ipAddress read-only
public
ScoreIpAddress
$ipAddress
an object containing the IP risk for the transaction
$queriesRemaining read-only
public
int
$queriesRemaining
the approximate number of queries remaining for this service before your account runs out of funds
$riskScore read-only
public
float
$riskScore
This property contains the risk score, from 0.01 to 99. A higher score indicates a higher risk of fraud. For example, a score of 20 indicates a 20% chance that a transaction is fraudulent. We never return a risk score of 0, since all transactions have the possibility of being fraudulent. Likewise we never return a risk score of 100.
$warnings read-only
public
array<string|int, Warning>
$warnings
This array contains \MaxMind\MinFraud\Model\Warning objects detailing issues with the request that was sent, such as invalid or unknown inputs. It is highly recommended that you check this array for issues when integrating the web service.
Methods
__construct()
public
__construct(array<string, mixed> $response) : mixed
Parameters
- $response : array<string, mixed>
jsonSerialize()
public
jsonSerialize() : array<string, mixed>