Class EmailValidationRequest

java.lang.Object
com.digicert.validation.methods.email.validate.EmailValidationRequest

public class EmailValidationRequest extends Object
Represents the verification details required for email validation. This class is used to hold the domain, email source, random value, email address, and validation state.

The `EmailValidationRequest` class encapsulates all the necessary information required to perform an email validation. This includes the domain to be validated, the source of the email, a random value used for validation, the email address itself, and the current state of the validation process.

See Also:
  • Field Details

    • domain

      private final String domain
      The domain to be validated.

      The `domain` field represents the domain part of the email address that is being validated

    • emailSource

      private final EmailSource emailSource
      The source of the email used for validation.

      The `emailSource` field indicates the origin of the email address being validated. This could be a whoIs source, constructed list, or a DNS TXT record.

    • randomValue

      private final String randomValue
      The random value used for validation.

      The `randomValue` field contains a randomly generated value that is sent to the email address as part of the validation process. This value acts as a verification code that the user must enter to confirm their ownership of the email address.

    • emailAddress

      private final String emailAddress
      The email address submitted for validation.

      The `emailAddress` field holds the actual email address that is being validated.

    • validationState

      private final ValidationState validationState
      The current state of the validation process.

      The `validationState` field represents the current status of the email validation process. .

  • Constructor Details

    • EmailValidationRequest

      private EmailValidationRequest(String domain, EmailSource emailSource, String randomValue, String emailAddress, ValidationState validationState)
      Private constructor to prevent instantiation without using the builder.
      Parameters:
      domain - The domain to be validated.
      emailSource - The source of the email used for validation.
      randomValue - The random value used for validation.
      emailAddress - The email address used for validation.
      validationState - The current state of the validation process.