\MaxMind\MinFraud\ModelFactors

Model representing the Factors response.

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
$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

normal

$billingAddress

$billingAddress : \MaxMind\MinFraud\Model\BillingAddress

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

Type

normal

$creditCard

$creditCard : \MaxMind\MinFraud\Model\CreditCard

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

Type

normal

$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

normal

$email

$email : \MaxMind\MinFraud\Model\Email

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

Type

normal

$ipAddress

$ipAddress : \MaxMind\MinFraud\Model\IpAddress

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

Type

normal

$shippingAddress

$shippingAddress : \MaxMind\MinFraud\Model\ShippingAddress

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

Type

normal

$fundsRemaining

$fundsRemaining : float

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

Type

normal

$queriesRemaining

$queriesRemaining : int

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

Type

normal

$rawResponse

$rawResponse : int

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

Type

normal

$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

normal

$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

normal

$disposition

$disposition : \MaxMind\MinFraud\Model\Disposition

An object containing the disposition set by custom rules.

Type

normal

$ipAddress

$ipAddress : \MaxMind\MinFraud\Model\ScoreIpAddress

An object containing the IP risk for the transaction.

Type

normal

$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

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