\MaxMind\MinFraud\ModelEmail

Model containing information about the email address.

Summary

Methods
Properties
Constants
__construct()
jsonSerialize()
$domain
$firstSeen
$isDisposable
$isFree
$isHighRisk
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$domain

$domain : \MaxMind\MinFraud\Model\EmailDomain

An object containing information about the email domain.

Type

normal

$firstSeen

$firstSeen : string|null

A date string (e.g. 2017-04-24) to identify the date an email address was first seen by MaxMind. This is expressed using the ISO 8601 date format.

Type

normal

$isDisposable

$isDisposable : bool|null

Whether this email address is from a disposable email provider. The value will be null when no email address or email domain has been passed as an input.

Type

normal

$isFree

$isFree : bool|null

This property is true if MaxMind believes that this email is hosted by a free email provider such as Gmail or Yahoo! Mail.

Type

normal

$isHighRisk

$isHighRisk : bool|null

This field is true if MaxMind believes that this email is likely to be used for fraud. Note that this is also factored into the overall risk_score in the response as well.

Type

normal

Methods

__construct()

__construct(mixed  $response, mixed  $locales = ['en']) : mixed

Parameters

mixed $response

the array corresponding to the object in the minFraud Insights response

mixed $locales

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

Returns

mixed

jsonSerialize()

jsonSerialize() : array

Returns

array —

data that can be serialized by json_encode