public class NotificationOptions extends java.lang.Object implements NotificationOptionsIf
| Constructor and Description |
|---|
NotificationOptions()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCustomerId()
customer id of the customer signing up for the notification.
|
java.lang.String |
getEmailAddr()
email address of the customer signing up for the notification.
|
int |
getProductId()
The id of the product that the customer desires to be notified about or to remove a current
notification.
|
java.lang.String |
getSessionId()
session id of the customer signing up for the notification.
|
boolean |
isAllProducts()
Set to true if the customer is signing up for all product notifications or removing the
notifications.
|
boolean |
isNewsletter()
Set to true if the customer is signing up for the newsletter or removing his subscription.
|
boolean |
isSetEmailVerified()
When set, the emailVerified attribute of the customer object is set.
|
void |
setAllProducts(boolean allProducts)
Set to true if the customer is signing up for all product notifications or removing the
notifications.
|
void |
setCustomerId(int customerId)
customer id of the customer signing up for the notification.
|
void |
setEmailAddr(java.lang.String emailAddr)
email address of the customer signing up for the notification.
|
void |
setNewsletter(boolean newsletter)
Set to true if the customer is signing up for the newsletter or removing his subscription.
|
void |
setProductId(int productId)
The id of the product that the customer desires to be notified about or to remove a current
notification.
|
void |
setSessionId(java.lang.String sessionId)
session id of the customer signing up for the notification.
|
void |
setSetEmailVerified(boolean setEmailVerified)
When set, the emailVerified attribute of the customer object is set.
|
public java.lang.String getEmailAddr()
getEmailAddr in interface NotificationOptionsIfpublic void setEmailAddr(java.lang.String emailAddr)
setEmailAddr in interface NotificationOptionsIfemailAddr - the emailAddr to setpublic int getCustomerId()
getCustomerId in interface NotificationOptionsIfpublic void setCustomerId(int customerId)
setCustomerId in interface NotificationOptionsIfcustomerId - the customerId to setpublic java.lang.String getSessionId()
getSessionId in interface NotificationOptionsIfpublic void setSessionId(java.lang.String sessionId)
setSessionId in interface NotificationOptionsIfsessionId - the sessionId to setpublic boolean isNewsletter()
isNewsletter in interface NotificationOptionsIfpublic void setNewsletter(boolean newsletter)
setNewsletter in interface NotificationOptionsIfnewsletter - the newsletter to setpublic int getProductId()
getProductId in interface NotificationOptionsIfpublic void setProductId(int productId)
setProductId in interface NotificationOptionsIfproductId - the productId to setpublic boolean isAllProducts()
isAllProducts in interface NotificationOptionsIfpublic void setAllProducts(boolean allProducts)
setAllProducts in interface NotificationOptionsIfallProducts - the allProducts to setpublic boolean isSetEmailVerified()
isSetEmailVerified in interface NotificationOptionsIfpublic void setSetEmailVerified(boolean setEmailVerified)
setSetEmailVerified in interface NotificationOptionsIfsetEmailVerified - the setEmailVerified to setCopyright © 2018 DS Data Systems UK Ltd.