Package passport.domain.models.email
Class EmailDocument
java.lang.Object
passport.domain.models.email.EmailDocument
Represents an email document, including metadata and the body content.
-
Constructor Summary
ConstructorDescriptionEmailDocument
(EmailMetadata meta, Html body) Constructs a new EmailDocument with the specified metadata and body. -
Method Summary
-
Constructor Details
-
EmailDocument
Constructs a new EmailDocument with the specified metadata and body.- Parameters:
meta
- the email metadatabody
- the HTML content of the email body
-
-
Method Details
-
body
Returns the body content of the email as a string.- Returns:
- the body content as a string
-
metadata
-