minFraud PHP API v1.0.0
  • Namespace
  • Class

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • Test
      • Database
      • Model
      • WebService
    • WebService
  • MaxMind
    • MinFraud
      • Model
  • PHP

Classes

  • Address
  • BillingAddress
  • CreditCard
  • Device
  • Email
  • Factors
  • GeoIp2Country
  • GeoIp2Location
  • Insights
  • IpAddress
  • Issuer
  • Score
  • ScoreIpAddress
  • ShippingAddress
  • Subscores
  • Warning

Class Score

Model of the Score response.

MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
Extended by MaxMind\MinFraud\Model\Score

Direct known subclasses

MaxMind\MinFraud\Model\Insights

Indirect known subclasses

MaxMind\MinFraud\Model\Factors

Namespace: MaxMind\MinFraud\Model
Located at MinFraud/Model/Score.php

Methods summary

public
# __construct( array $response, array $locales = ['en'] )

Parameters

$response

The array corresponding to the object in the minFraud Insights response.

$locales

List of locale codes to use in name property from most preferred to least preferred.

Overrides

MaxMind\MinFraud\Model\AbstractModel::__construct

Methods inherited from MaxMind\MinFraud\Model\AbstractModel

__get(), jsonSerialize(), safeArrayLookup()

Properties summary

Magic properties

public read-only integer $fundsRemaining

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

public read-only integer $queriesRemaining

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

public read-only integer $rawResponse

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

public read-only 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.

public read-only 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.

public read-only array $warnings

This array contains \MaxMind\MinFraud\Model\Warning 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.

minFraud PHP API v1.0.0 API documentation generated by ApiGen