Class OrderFulfillmentNote
java.lang.Object
com.broadleafcommerce.order.domain.OrderFulfillmentNote
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,Serializable
public class OrderFulfillmentNote
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
Represents a note written by an admin user for an
OrderFulfillment
.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The username of the admin who wrote this note.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.The date this note was created.getId()
The context ID of this note.getNote()
The text content of the note.The context id of the order fulfillment that this note applies toint
hashCode()
void
The username of the admin who wrote this note.void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
setCreated
(Instant created) The date this note was created.void
The context ID of this note.void
The text content of the note.void
setOrderFulfillmentId
(String orderFulfillmentId) The context id of the order fulfillment that this note applies totoString()
-
Constructor Details
-
OrderFulfillmentNote
public OrderFulfillmentNote()
-
-
Method Details
-
getId
The context ID of this note. -
getOrderFulfillmentId
The context id of the order fulfillment that this note applies to- Returns:
- the context ID of the order fulfillment that this note applies to
-
getNote
The text content of the note. -
getAuthor
The username of the admin who wrote this note. -
getCreated
The date this note was created. -
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object.
-
setId
The context ID of this note. -
setOrderFulfillmentId
The context id of the order fulfillment that this note applies to- Parameters:
orderFulfillmentId
- the context ID of the order fulfillment that this note applies to
-
setNote
The text content of the note. -
setAuthor
The username of the admin who wrote this note. -
setCreated
The date this note was created. -
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-