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 booleancanEqual(Object other)booleanequals(Object o)StringgetAuthor()The username of the admin who wrote this note.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStategetContextState()A subset ofTrackinginformation to expose the context state for this object.InstantgetCreated()The date this note was created.StringgetId()The context ID of this note.StringgetNote()The text content of the note.StringgetOrderFulfillmentId()The context id of the order fulfillment that this note applies tointhashCode()voidsetAuthor(String author)The username of the admin who wrote this note.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)A subset ofTrackinginformation to expose the context state for this object.voidsetCreated(Instant created)The date this note was created.voidsetId(String id)The context ID of this note.voidsetNote(String note)The text content of the note.voidsetOrderFulfillmentId(String orderFulfillmentId)The context id of the order fulfillment that this note applies toStringtoString()
-
-
-
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 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
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 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
-
canEqual
protected boolean canEqual(Object other)
-
-