Class NotificationModel
java.lang.Object
net.avalara.avatax.rest.client.models.NotificationModel
Represents a single notification.
A notification is a message from Avalara that may have relevance to your business. You may want
to regularly review notifications and then dismiss them when you are certain that you have addressed
any relevant concerns raised by this notification.
An example of a notification would be a message about new software, or a change to AvaTax that may
affect you, or a potential issue with your company's tax profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for accountId The unique ID number of the account that received this notification.Getter for actionDueDate If there is a specific action suggested by this notification, and if this action is requested by a specific due date, this value will be the due date for the action.Getter for actionLink If there is a specific action suggested by this notification, this is the URL of the action.Getter for actionName If there is a specific action suggested by this notification, this is the name of the action.Getter for category The category of this notification.Getter for companyId If this notification was tied to a specific company, this will be the unique ID number of the company that received the notification.Getter for createdDate The UTC timestamp of the time when this notification was created.Getter for createdUserId The unique ID number of the user who created the notification.Getter for dismissed When a user has finished reviewing a notification, they may opt to dismiss it by calling the `DismissNotification` API.Getter for dismissedByUserId If this notification has been dismissed, this indicates the unique ID number of the user that dismissed the notification.Getter for dismissedDate If this notification has been dismissed, this indicates the timestamp (in UTC time) when the user dismissed the notification.Getter for expireDate If this notification is time sensitive, this is the latest date when the notification should be displayed to the user.getId()
Getter for id The unique id of the notification.Getter for message The message for this notification.Getter for modifiedDate The UTC timestamp of the time when this notification was last modified.Getter for modifiedUserId The unique ID number of the user who most recently modified this notification.Getter for needsAction If this notification object requires user action to resolve, this value will be set to true.Getter for referenceId The unique reference Id number of the object referred to by this notification, if any.Getter for referenceObject The type name of object referred to by this notification, if any.Getter for severityLevelId The severity level of the notification.getTopic()
Getter for topic The topic of this notification.void
setAccountId
(Integer value) Setter for accountId The unique ID number of the account that received this notification.void
setActionDueDate
(Date value) Setter for actionDueDate If there is a specific action suggested by this notification, and if this action is requested by a specific due date, this value will be the due date for the action.void
setActionLink
(String value) Setter for actionLink If there is a specific action suggested by this notification, this is the URL of the action.void
setActionName
(String value) Setter for actionName If there is a specific action suggested by this notification, this is the name of the action.void
setCategory
(String value) Setter for category The category of this notification.void
setCompanyId
(Integer value) Setter for companyId If this notification was tied to a specific company, this will be the unique ID number of the company that received the notification.void
setCreatedDate
(Date value) Setter for createdDate The UTC timestamp of the time when this notification was created.void
setCreatedUserId
(Integer value) Setter for createdUserId The unique ID number of the user who created the notification.void
setDismissed
(Boolean value) Setter for dismissed When a user has finished reviewing a notification, they may opt to dismiss it by calling the `DismissNotification` API.void
setDismissedByUserId
(Integer value) Setter for dismissedByUserId If this notification has been dismissed, this indicates the unique ID number of the user that dismissed the notification.void
setDismissedDate
(Date value) Setter for dismissedDate If this notification has been dismissed, this indicates the timestamp (in UTC time) when the user dismissed the notification.void
setExpireDate
(Date value) Setter for expireDate If this notification is time sensitive, this is the latest date when the notification should be displayed to the user.void
Setter for id The unique id of the notification.void
setMessage
(String value) Setter for message The message for this notification.void
setModifiedDate
(Date value) Setter for modifiedDate The UTC timestamp of the time when this notification was last modified.void
setModifiedUserId
(Integer value) Setter for modifiedUserId The unique ID number of the user who most recently modified this notification.void
setNeedsAction
(Boolean value) Setter for needsAction If this notification object requires user action to resolve, this value will be set to true.void
setReferenceId
(Long value) Setter for referenceId The unique reference Id number of the object referred to by this notification, if any.void
setReferenceObject
(String value) Setter for referenceObject The type name of object referred to by this notification, if any.void
Setter for severityLevelId The severity level of the notification.void
Setter for topic The topic of this notification.toString()
Returns a JSON string representation of NotificationModel
-
Constructor Details
-
NotificationModel
public NotificationModel()
-
-
Method Details
-
getId
Getter for id The unique id of the notification. -
setId
Setter for id The unique id of the notification. -
getAccountId
Getter for accountId The unique ID number of the account that received this notification. -
setAccountId
Setter for accountId The unique ID number of the account that received this notification. -
getCompanyId
Getter for companyId If this notification was tied to a specific company, this will be the unique ID number of the company that received the notification. Notifications that are tied to accounts will have a `NULL` value for `companyId`. -
setCompanyId
Setter for companyId If this notification was tied to a specific company, this will be the unique ID number of the company that received the notification. Notifications that are tied to accounts will have a `NULL` value for `companyId`. -
getReferenceObject
Getter for referenceObject The type name of object referred to by this notification, if any. Some notifications may include information about a related data object. For example, if this notification was related to a nexus declaration, the `referenceObject` field would be `Nexus` and the `referenceId` field would be the unique ID number of that nexus. -
setReferenceObject
Setter for referenceObject The type name of object referred to by this notification, if any. Some notifications may include information about a related data object. For example, if this notification was related to a nexus declaration, the `referenceObject` field would be `Nexus` and the `referenceId` field would be the unique ID number of that nexus. -
getReferenceId
Getter for referenceId The unique reference Id number of the object referred to by this notification, if any. Some notifications may include information about a related data object. For example, if this notification was related to a nexus declaration, the `referenceObject` field would be `Nexus` and the `referenceId` field would be the unique ID number of that nexus. -
setReferenceId
Setter for referenceId The unique reference Id number of the object referred to by this notification, if any. Some notifications may include information about a related data object. For example, if this notification was related to a nexus declaration, the `referenceObject` field would be `Nexus` and the `referenceId` field would be the unique ID number of that nexus. -
getSeverityLevelId
Getter for severityLevelId The severity level of the notification. -
setSeverityLevelId
Setter for severityLevelId The severity level of the notification. -
getCategory
Getter for category The category of this notification. Notification categories are a useful way to group related notifications together. Category names may change over time. For Example: "Backdated Transactions" or "Nexus Jurisdiction Alerts", or "Certificate Expiration". -
setCategory
Setter for category The category of this notification. Notification categories are a useful way to group related notifications together. Category names may change over time. For Example: "Backdated Transactions" or "Nexus Jurisdiction Alerts", or "Certificate Expiration". -
getTopic
Getter for topic The topic of this notification. Notification topics contain information about the notification. They are a summary of the issue and can help you decide what type of action to take. For Example: "Backdated Transactions" or "Nexus Jurisdiction Alerts", or "Certificate Expiration". -
setTopic
Setter for topic The topic of this notification. Notification topics contain information about the notification. They are a summary of the issue and can help you decide what type of action to take. For Example: "Backdated Transactions" or "Nexus Jurisdiction Alerts", or "Certificate Expiration". -
getMessage
Getter for message The message for this notification. This is a friendly description of the notification and any relevant information that can help you decide what kind of action, if any, to take in response. -
setMessage
Setter for message The message for this notification. This is a friendly description of the notification and any relevant information that can help you decide what kind of action, if any, to take in response. -
getNeedsAction
Getter for needsAction If this notification object requires user action to resolve, this value will be set to true. -
setNeedsAction
Setter for needsAction If this notification object requires user action to resolve, this value will be set to true. -
getActionName
Getter for actionName If there is a specific action suggested by this notification, this is the name of the action. An action is a suggested next step such as "Review Your Tax Profile." If an action is suggested, you should give the viewer a hyperlink to the location referred to by `actionLink` and give the hyperlink the name `actionName`. -
setActionName
Setter for actionName If there is a specific action suggested by this notification, this is the name of the action. An action is a suggested next step such as "Review Your Tax Profile." If an action is suggested, you should give the viewer a hyperlink to the location referred to by `actionLink` and give the hyperlink the name `actionName`. -
getActionLink
Getter for actionLink If there is a specific action suggested by this notification, this is the URL of the action. An action is a suggested next step such as "Review Your Tax Profile." If an action is suggested, you should give the viewer a hyperlink to the location referred to by `actionLink` and give the hyperlink the name `actionName`. -
setActionLink
Setter for actionLink If there is a specific action suggested by this notification, this is the URL of the action. An action is a suggested next step such as "Review Your Tax Profile." If an action is suggested, you should give the viewer a hyperlink to the location referred to by `actionLink` and give the hyperlink the name `actionName`. -
getActionDueDate
Getter for actionDueDate If there is a specific action suggested by this notification, and if this action is requested by a specific due date, this value will be the due date for the action. An action is a suggested next step such as "Review Your Tax Profile." If an action is suggested, you should give the viewer a hyperlink to the location referred to by `actionLink` and give the hyperlink the name `actionName`. For actions that have deadlines, such as "Confirm your tax registration before filing", this value will be set to the deadline date for the action. Otherwise, this value will be null. -
setActionDueDate
Setter for actionDueDate If there is a specific action suggested by this notification, and if this action is requested by a specific due date, this value will be the due date for the action. An action is a suggested next step such as "Review Your Tax Profile." If an action is suggested, you should give the viewer a hyperlink to the location referred to by `actionLink` and give the hyperlink the name `actionName`. For actions that have deadlines, such as "Confirm your tax registration before filing", this value will be set to the deadline date for the action. Otherwise, this value will be null. -
getDismissed
Getter for dismissed When a user has finished reviewing a notification, they may opt to dismiss it by calling the `DismissNotification` API. This API marks the notification as dismissed, and dismissed notifications will generally not appear in most user interfaces. -
setDismissed
Setter for dismissed When a user has finished reviewing a notification, they may opt to dismiss it by calling the `DismissNotification` API. This API marks the notification as dismissed, and dismissed notifications will generally not appear in most user interfaces. -
getDismissedByUserId
Getter for dismissedByUserId If this notification has been dismissed, this indicates the unique ID number of the user that dismissed the notification. -
setDismissedByUserId
Setter for dismissedByUserId If this notification has been dismissed, this indicates the unique ID number of the user that dismissed the notification. -
getDismissedDate
Getter for dismissedDate If this notification has been dismissed, this indicates the timestamp (in UTC time) when the user dismissed the notification. -
setDismissedDate
Setter for dismissedDate If this notification has been dismissed, this indicates the timestamp (in UTC time) when the user dismissed the notification. -
getExpireDate
Getter for expireDate If this notification is time sensitive, this is the latest date when the notification should be displayed to the user. -
setExpireDate
Setter for expireDate If this notification is time sensitive, this is the latest date when the notification should be displayed to the user. -
getCreatedUserId
Getter for createdUserId The unique ID number of the user who created the notification. -
setCreatedUserId
Setter for createdUserId The unique ID number of the user who created the notification. -
getCreatedDate
Getter for createdDate The UTC timestamp of the time when this notification was created. -
setCreatedDate
Setter for createdDate The UTC timestamp of the time when this notification was created. -
getModifiedUserId
Getter for modifiedUserId The unique ID number of the user who most recently modified this notification. -
setModifiedUserId
Setter for modifiedUserId The unique ID number of the user who most recently modified this notification. -
getModifiedDate
Getter for modifiedDate The UTC timestamp of the time when this notification was last modified. -
setModifiedDate
Setter for modifiedDate The UTC timestamp of the time when this notification was last modified. -
toString
Returns a JSON string representation of NotificationModel
-