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 anOrderFulfillment
.- Author:
- Samarth Dhruva (samarthd)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrderFulfillmentNote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAuthor()
The username of the admin who wrote this note.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
getContextState()
A subset ofTracking
information to expose the context state for this object.Instant
getCreated()
The date this note was created.String
getId()
The context ID of this note.String
getNote()
The text content of the note.String
getOrderFulfillmentId()
The context id of the order fulfillment that this note applies toint
hashCode()
void
setAuthor(String author)
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
setId(String id)
The context ID of this note.void
setNote(String note)
The text content of the note.void
setOrderFulfillmentId(String orderFulfillmentId)
The context id of the order fulfillment that this note applies toString
toString()
-
-
-
Method Detail
-
getId
public String getId()
The context ID of this note.
-
getOrderFulfillmentId
public String 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
public String getNote()
The text content of the note.
-
getAuthor
public String getAuthor()
The username of the admin who wrote this note.
-
getCreated
public Instant 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
public void setId(String id)
The context ID of this note.
-
setOrderFulfillmentId
public void setOrderFulfillmentId(String orderFulfillmentId)
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
public void setNote(String note)
The text content of the note.
-
setAuthor
public void setAuthor(String author)
The username of the admin who wrote this note.
-
setCreated
public void setCreated(Instant created)
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
-
canEqual
protected boolean canEqual(Object other)
-
-