Score
extends AbstractModel
in package
Model of the Score response.
Table of Contents
- $disposition : Disposition
- $fundsRemaining : float
- $id : string
- $ipAddress : ScoreIpAddress
- $queriesRemaining : int
- $rawResponse : int
- $riskScore : float
- $warnings : array<string|int, mixed>
- __construct() : 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.
$rawResponse read-only
public
int
$rawResponse
The raw data that comes back from the post request to the maxmind server.
$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, mixed>
$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|int, mixed> $response[, array<string|int, mixed> $locales = ['en'] ]) : mixed
Parameters
- $response : array<string|int, mixed>
- $locales : array<string|int, mixed> = ['en']