Package com.maxmind.minfraud.response
Class Email
- java.lang.Object
 - 
- com.maxmind.minfraud.AbstractModel
 - 
- com.maxmind.minfraud.response.Email
 
 
 
- 
public final class Email extends AbstractModel
This class contains minFraud response data related to the email address. 
- 
- 
Constructor Summary
Constructors Constructor Description Email()Email(EmailDomain domain, Boolean isDisposable, Boolean isFree, Boolean isHighRisk, String firstSeen)Email(Boolean isFree, Boolean isHighRisk)Email(Boolean isDisposable, Boolean isFree, Boolean isHighRisk, String firstSeen)Email(Boolean isFree, Boolean isHighRisk, String firstSeen) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailDomaingetDomain()StringgetFirstSeen()LocalDategetFirstSeenDate()BooleanisDisposable()BooleanisFree()/**BooleanisHighRisk()- 
Methods inherited from class com.maxmind.minfraud.AbstractModel
toJson, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
Email
public Email(EmailDomain domain, Boolean isDisposable, Boolean isFree, Boolean isHighRisk, String firstSeen)
 
- 
Email
public Email()
 
 - 
 
- 
Method Detail
- 
getDomain
public EmailDomain getDomain()
- Returns:
 - The 
EmailDomainmodel object. 
 
- 
isDisposable
public Boolean isDisposable()
- Returns:
 - Whether the email address is from a disposable email provider.
 If no email address was passed, this will be 
null. 
 
- 
isFree
public Boolean 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
public Boolean isHighRisk()
- Returns:
 - Whether the email address is associated with fraud. If no email
 address was passed, this will be 
null. 
 
- 
getFirstSeen
public String 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
public LocalDate getFirstSeenDate()
- Returns:
 - A date to identify the date an email address was first seen by MaxMind.
 
 
 - 
 
 -