Factors
extends Insights
in package
Model representing the Factors response.
Table of Contents
- $billingAddress : BillingAddress
- $creditCard : CreditCard
- $device : Device
- $disposition : Disposition
- $email : Email
- $fundsRemaining : float
- $id : string
- $ipAddress : IpAddress
- $ipAddress : ScoreIpAddress
- $queriesRemaining : int
- $rawResponse : int
- $riskScore : float
- $shippingAddress : ShippingAddress
- $subscores : Subscores
- $warnings : array<string|int, mixed>
- __construct() : mixed
Properties
$billingAddress read-only
public
BillingAddress
$billingAddress
An object containing minFraud data related to the billing address used in the transaction.
$creditCard read-only
public
CreditCard
$creditCard
An object containing minFraud data about the credit card used in the transaction.
$device read-only
public
Device
$device
This object contains information about the device that MaxMind believes is associated with the IP address passed in the request.
$disposition read-only
public
Disposition
$disposition
An object containing the disposition set by custom rules.
$email read-only
public
Email
$email
This object contains information about the email address passed in the request.
$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
IpAddress
$ipAddress
An object containing GeoIP2 and minFraud Insights information about the geolocated IP address.
$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.
$shippingAddress read-only
public
ShippingAddress
$shippingAddress
An object containing minFraud data related to the shipping address used in the transaction.
$subscores read-only
public
Subscores
$subscores
An object containing scores for many of the individual risk factors that are used to calculate the overall risk score.
$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']