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 NotificationOptionsIf
public void setEmailAddr(java.lang.String emailAddr)
setEmailAddr
in interface NotificationOptionsIf
emailAddr
- the emailAddr to setpublic int getCustomerId()
getCustomerId
in interface NotificationOptionsIf
public void setCustomerId(int customerId)
setCustomerId
in interface NotificationOptionsIf
customerId
- the customerId to setpublic java.lang.String getSessionId()
getSessionId
in interface NotificationOptionsIf
public void setSessionId(java.lang.String sessionId)
setSessionId
in interface NotificationOptionsIf
sessionId
- the sessionId to setpublic boolean isNewsletter()
isNewsletter
in interface NotificationOptionsIf
public void setNewsletter(boolean newsletter)
setNewsletter
in interface NotificationOptionsIf
newsletter
- the newsletter to setpublic int getProductId()
getProductId
in interface NotificationOptionsIf
public void setProductId(int productId)
setProductId
in interface NotificationOptionsIf
productId
- the productId to setpublic boolean isAllProducts()
isAllProducts
in interface NotificationOptionsIf
public void setAllProducts(boolean allProducts)
setAllProducts
in interface NotificationOptionsIf
allProducts
- the allProducts to setpublic boolean isSetEmailVerified()
isSetEmailVerified
in interface NotificationOptionsIf
public void setSetEmailVerified(boolean setEmailVerified)
setSetEmailVerified
in interface NotificationOptionsIf
setEmailVerified
- the setEmailVerified to setCopyright © 2018 DS Data Systems UK Ltd.