Package com.veeva.vault.sdk.api.email
Interface EmailSender
public interface EmailSender
Represents the sender of the email.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the email address of this sender.Retrieves the Person ID for this sender; null if the email address does not match any Person records or if the email address matches multiple active Person records.Retrieves the User ID for this sender; null if the email address does not match any User records or if the email address matches multiple active User records.
-
Method Details
-
getUserId
String getUserId()Retrieves the User ID for this sender; null if the email address does not match any User records or if the email address matches multiple active User records.- Returns:
- User ID if found
-
getPersonId
String getPersonId()Retrieves the Person ID for this sender; null if the email address does not match any Person records or if the email address matches multiple active Person records.- Returns:
- Person ID if found, otherwise null
-
getEmailAddress
EmailAddress getEmailAddress()Retrieves the email address of this sender.- Returns:
- EmailAddress object
-