\MaxMind\MinFraud\ModelScore

Model of the Score response.

Summary

Methods
Properties
Constants
__construct()
$fundsRemaining
$queriesRemaining
$rawResponse
$id
$riskScore
$disposition
$ipAddress
$warnings
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$fundsRemaining

$fundsRemaining : float

The approximate US dollar value of the funds remaining on your MaxMind account.

Type

float

$queriesRemaining

$queriesRemaining : int

The approximate number of queries remaining for this service before your account runs out of funds.

Type

int

$rawResponse

$rawResponse : int

The raw data that comes back from the post request to the maxmind server.

Type

int

$id

$id : string

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.

Type

string

$riskScore

$riskScore : float

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.

Type

float

$disposition

$disposition : \MaxMind\MinFraud\Model\Disposition

An object containing the disposition set by custom rules.

Type

Disposition

$ipAddress

$ipAddress : \MaxMind\MinFraud\Model\ScoreIpAddress

An object containing the IP risk for the transaction.

Type

ScoreIpAddress

$warnings

$warnings : array

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.

Type

array

Methods

__construct()

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

Parameters

array $response
array $locales

Returns

mixed —