\MaxMind\MinFraud\ModelFactors

Model representing the Factors response.

Summary

Methods
Properties
Constants
__construct()
$subscores
$billingAddress
$creditCard
$device
$email
$ipAddress
$shippingAddress
$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

$subscores

$subscores : \MaxMind\MinFraud\Model\Subscores

An object containing subscores for many of the individual components that are used to calculate the overall risk score.

Type

Subscores

$billingAddress

$billingAddress : \MaxMind\MinFraud\Model\BillingAddress

An object containing minFraud data related to the billing address used in the transaction.

Type

BillingAddress

$creditCard

$creditCard : \MaxMind\MinFraud\Model\CreditCard

An object containing minFraud data about the credit card used in the transaction.

Type

CreditCard

$device

$device : \MaxMind\MinFraud\Model\Device

This object contains information about the device that MaxMind believes is associated with the IP address passed in the request.

Type

Device

$email

$email : \MaxMind\MinFraud\Model\Email

This object contains information about the email address passed in the request.

Type

Email

$ipAddress

$ipAddress : \MaxMind\MinFraud\Model\IpAddress

An object containing GeoIP2 and minFraud Insights information about the geolocated IP address.

Type

IpAddress

$shippingAddress

$shippingAddress : \MaxMind\MinFraud\Model\ShippingAddress

An object containing minFraud data related to the shipping address used in the transaction.

Type

ShippingAddress

$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 —