Insights
in package
implements
JsonSerializable
Model of the Insights response.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $billingAddress : BillingAddress
- $billingPhone : Phone
- $creditCard : CreditCard
- $device : Device
- $disposition : Disposition
- $email : Email
- $fundsRemaining : float
- $id : string
- $ipAddress : IpAddress
- $queriesRemaining : int
- $riskScore : float
- $shippingAddress : ShippingAddress
- $shippingPhone : Phone
- $warnings : array<string|int, Warning>
Methods
- __construct() : mixed
- jsonSerialize() : array<string, mixed>
Properties
$billingAddress read-only
public
BillingAddress
$billingAddress
an object containing minFraud data related to the billing address used in the transaction
$billingPhone read-only
public
Phone
$billingPhone
an object containing minFraud data related to the billing phone 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
$queriesRemaining read-only
public
int
$queriesRemaining
the approximate number of queries remaining for this service before your account runs out of funds
$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
$shippingPhone read-only
public
Phone
$shippingPhone
an object containing minFraud data related to the shipping phone used in the transaction
$warnings read-only
public
array<string|int, Warning>
$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, mixed> $response[, array<int, string> $locales = ['en'] ]) : mixed
Parameters
- $response : array<string, mixed>
- $locales : array<int, string> = ['en']
jsonSerialize()
public
jsonSerialize() : array<string, mixed>