java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.Email
This class contains minFraud response data related to the email address.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString
-
Constructor Details
-
Email
public Email(EmailDomain domain, Boolean isDisposable, Boolean isFree, Boolean isHighRisk, String firstSeen) - Parameters:
domain
- TheEmailDomain
model object.isDisposable
- Whether it is a disposable email.isFree
- Whether it is a free email.isHighRisk
- Whether it is a high risk email.firstSeen
- When the email was first seen.
-
Email
public Email()Constructor forEmail
.
-
-
Method Details
-
getDomain
- Returns:
- The
EmailDomain
model object.
-
isDisposable
- Returns:
- Whether the email address is from a disposable email provider. If no email address
was passed, this will be
null
.
-
isFree
/**- Returns:
- Whether the email address is from a free email provider such as Gmail. If no email
address was passed, this will be
null
.
-
isHighRisk
- Returns:
- Whether the email address is associated with fraud. If no email address was passed,
this will be
null
.
-
getFirstSeen
- Returns:
- 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.
-
getFirstSeenDate
- Returns:
- A date to identify the date an email address was first seen by MaxMind.
-