Class CustomerNote
- java.lang.Object
-
- com.broadleafcommerce.customer.domain.CustomerNote
-
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class CustomerNote extends Object implements com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomerNote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAuthor()The user that created this notecom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStategetContextState()A subset ofTrackinginformation to expose the context state for this object.InstantgetCreated()When this note was createdStringgetCustomerId()The link to the customer that this note applies toStringgetId()The context ID of the customer note.StringgetNote()The content of the noteinthashCode()voidsetAuthor(String author)The 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 createdvoidsetCustomerId(String customerId)The link to the customer that this note applies tovoidsetId(String id)The context ID of the customer note.voidsetNote(String note)The content of the noteStringtoString()
-
-
-
Method Detail
-
getId
public String getId()
The context ID of the customer note.- Returns:
- the context ID of the customer note
-
getCustomerId
public String getCustomerId()
The link to the customer that this note applies to- Returns:
- the context ID of the customer that this note applies to
-
getNote
public String getNote()
The content of the note- Returns:
- the content of the note
-
getCreated
public Instant getCreated()
When this note was created- Returns:
- when this note was created
-
getAuthor
public String 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
public void setId(String id)
The context ID of the customer note.- Parameters:
id- the context ID of the customer note
-
setCustomerId
public void setCustomerId(String customerId)
The link to the customer that this note applies to- Parameters:
customerId- the context ID of the customer that this note applies to
-
setNote
public void setNote(String note)
The content of the note- Parameters:
note- the content of the note
-
setCreated
public void setCreated(Instant created)
When this note was created- Parameters:
created- when this note was created
-
setAuthor
public void setAuthor(String author)
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
-
canEqual
protected boolean canEqual(Object other)
-
-