Overview

Namespaces

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

Classes

  • GeoIp2\Database\Reader
  • GeoIp2\Model\AnonymousIp
  • GeoIp2\Model\Asn
  • GeoIp2\Model\City
  • GeoIp2\Model\ConnectionType
  • GeoIp2\Model\Country
  • GeoIp2\Model\Domain
  • GeoIp2\Model\Enterprise
  • GeoIp2\Model\Insights
  • GeoIp2\Model\Isp
  • GeoIp2\Record\AbstractPlaceRecord
  • GeoIp2\Record\AbstractRecord
  • GeoIp2\Record\City
  • GeoIp2\Record\Continent
  • GeoIp2\Record\Country
  • GeoIp2\Record\Location
  • GeoIp2\Record\MaxMind
  • GeoIp2\Record\Postal
  • GeoIp2\Record\RepresentedCountry
  • GeoIp2\Record\Subdivision
  • GeoIp2\Record\Traits
  • GeoIp2\Test\Database\ReaderTest
  • GeoIp2\Test\Model\CountryTest
  • GeoIp2\Test\Model\InsightsTest
  • GeoIp2\Test\Model\NameTest
  • GeoIp2\Test\WebService\ClientTest
  • GeoIp2\WebService\Client
  • MaxMind\MinFraud
  • MaxMind\MinFraud\Model\Address
  • MaxMind\MinFraud\Model\BillingAddress
  • MaxMind\MinFraud\Model\CreditCard
  • MaxMind\MinFraud\Model\Device
  • MaxMind\MinFraud\Model\Disposition
  • MaxMind\MinFraud\Model\Email
  • MaxMind\MinFraud\Model\Factors
  • MaxMind\MinFraud\Model\GeoIp2Country
  • MaxMind\MinFraud\Model\GeoIp2Location
  • MaxMind\MinFraud\Model\Insights
  • MaxMind\MinFraud\Model\IpAddress
  • MaxMind\MinFraud\Model\Issuer
  • MaxMind\MinFraud\Model\Score
  • MaxMind\MinFraud\Model\ScoreIpAddress
  • MaxMind\MinFraud\Model\ShippingAddress
  • MaxMind\MinFraud\Model\Subscores
  • MaxMind\MinFraud\Model\Warning

Interfaces

  • GeoIp2\ProviderInterface
  • JsonSerializable
  • Throwable

Exceptions

  • BadFunctionCallException
  • BadMethodCallException
  • Exception
  • GeoIp2\Exception\AddressNotFoundException
  • GeoIp2\Exception\AuthenticationException
  • GeoIp2\Exception\GeoIp2Exception
  • GeoIp2\Exception\HttpException
  • GeoIp2\Exception\InvalidRequestException
  • GeoIp2\Exception\OutOfQueriesException
  • InvalidArgumentException
  • LogicException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace MaxMind\MinFraud\Model;
 4: 
 5: /**
 6:  * Model containing information about the email address.
 7:  *
 8:  * @property-read string|null $firstSeen A date string (e.g. 2017-04-24) to
 9:  * identify the date an email address was first seen by MaxMind. This is
10:  * expressed using the ISO 8601 date format.
11:  * @property-read bool|null $isFree This property is true if MaxMind believes
12:  * that this email is hosted by a free email provider such as Gmail or Yahoo!
13:  * Mail.
14:  * @property-read bool|null $isHighRisk This field is true if MaxMind believes
15:  * that this email is likely to be used for fraud. Note that this is also
16:  * factored into the overall risk_score in the response as well.
17:  */
18: class Email extends AbstractModel
19: {
20:     /**
21:      * @internal
22:      */
23:     protected $firstSeen;
24: 
25:     /**
26:      * @internal
27:      */
28:     protected $isFree;
29: 
30:     /**
31:      * @internal
32:      */
33:     protected $isHighRisk;
34: 
35:     public function __construct($response, $locales = ['en'])
36:     {
37:         parent::__construct($response, $locales);
38:         $this->firstSeen = $this->safeArrayLookup($response['first_seen']);
39:         $this->isFree = $this->safeArrayLookup($response['is_free']);
40:         $this->isHighRisk = $this->safeArrayLookup($response['is_high_risk']);
41:     }
42: }
43: 
minFraud PHP API v1.4.0 API documentation generated by ApiGen