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 Details

    • Email

      public Email(EmailDomain domain, Boolean isDisposable, Boolean isFree, Boolean isHighRisk, String firstSeen)
      Parameters:
      domain - The EmailDomain 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()
  • Method Details

    • getDomain

      public EmailDomain getDomain()
      Returns:
      The EmailDomain model 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.