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 Device

Model with information about the device.

In order to receive device output from minFraud Insights or minFraud Factors, you must be using the Device Tracking Add-on.

MaxMind\MinFraud\Model\AbstractModel implements JsonSerializable
Extended by MaxMind\MinFraud\Model\Device
Namespace: MaxMind\MinFraud\Model
Package: MaxMind\MinFraud\Model
Link: Device Tracking Add-on
Located at MinFraud/Model/Device.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 float|null $confidence

This number represents our confidence that the device_id refers to a unique device as opposed to a cluster of similar devices. A confidence of 0.01 indicates very low confidence that the device is unique, whereas 99 indicates very high confidence.

public read-only string|null $id

A UUID that MaxMind uses for the device associated with this IP address. Note that many devices cannot be uniquely identified because they are too common (for example, all iPhones of a given model and OS release). In these cases, the minFraud service will simply not return a UUID for that device.

public read-only string|null $lastSeen

This is the date and time of the last sighting of the device. This is an RFC 3339 date-time.

minFraud PHP API v1.0.0 API documentation generated by ApiGen