Class OrderNote
java.lang.Object
com.broadleafcommerce.order.domain.OrderNote
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class OrderNote
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Informational notes manually added for an
Order by an admin for future reference by other
admins.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe user that created this notecom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.When this note was createdgetId()The context ID of the order note.getNote()The content of the noteThe link to the order that this note applies tointhashCode()voidThe user that created this notevoidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetCreated(Instant created) When this note was createdvoidThe context ID of the order note.voidThe content of the notevoidsetOrderId(String orderId) The link to the order that this note applies totoString()
-
Constructor Details
-
OrderNote
public OrderNote()
-
-
Method Details
-
getId
The context ID of the order note.- Returns:
- the context ID of the order note
-
getOrderId
The link to the order that this note applies to- Returns:
- the context ID of the order that this note applies to
-
getNote
The content of the note- Returns:
- the content of the note
-
getCreated
When this note was created- Returns:
- when this note was created
-
getAuthor
The user that created this note- Returns:
- the user that created this note
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Returns:
- a subset of
Trackinginformation to expose the context state for this object.
-
setId
The context ID of the order note.- Parameters:
id- the context ID of the order note
-
setOrderId
The link to the order that this note applies to- Parameters:
orderId- the context ID of the order that this note applies to
-
setNote
The content of the note- Parameters:
note- the content of the note
-
setCreated
When this note was created- Parameters:
created- when this note was created
-
setAuthor
The user that created this note- Parameters:
author- the user that created this note
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Parameters:
contextState- a subset ofTrackinginformation to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-