Interface Subscriber
Defines interface for subscriber(lead) to the external email provider. The getter and setter methods for subscriber name and id are inherited from NamedType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStatus param that can be used as custom parameter to specify subscriber status. -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Get the subscriber email address.Get the first name of the subscriber.Get the last name of the subscriber.voidSet the subscriber email address.voidsetFirstName(String firstName) Set the first name of the subscriber.voidsetLastName(String lastName) Set the last name of the subsciber.
-
Field Details
-
STATUS_PARAM
Status param that can be used as custom parameter to specify subscriber status.- See Also:
-
-
Method Details
-
getEmail
String getEmail()Get the subscriber email address.- Returns:
- The email address of the subscriber.
-
setEmail
Set the subscriber email address.- Parameters:
email- The email address of the subscriber.
-
getFirstName
String getFirstName()Get the first name of the subscriber.- Returns:
- The subscriber first name.
-
setFirstName
Set the first name of the subscriber.- Parameters:
firstName- The first name of the subscriber.
-
getLastName
String getLastName()Get the last name of the subscriber.- Returns:
- The subscriber last name.
-
setLastName
Set the last name of the subsciber.- Parameters:
lastName- The subscriber last name.
-