com.elasticpath.domain.order
Interface OrderNote

All Superinterfaces:
EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
OrderNoteImpl

public interface OrderNote
extends ValueObject

OrderNote represents a note made on an order by a CSR.


Method Summary
 CmUser getCreatedBy()
          Get the CM user who created this order note.
 java.util.Date getCreatedDate()
          Get the date that this order was created on.
 java.lang.String getNote()
          Get the note recorded against the order.
 void setCreatedBy(CmUser createdBy)
          Set the CM User who created this order note.
 void setCreatedDate(java.util.Date createdDate)
          Set the date that the order is created.
 void setNote(java.lang.String note)
          Set the note against the order.
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getCreatedBy

CmUser getCreatedBy()
Get the CM user who created this order note.

Returns:
the CM user

getCreatedDate

java.util.Date getCreatedDate()
Get the date that this order was created on.

Returns:
the created date

getNote

java.lang.String getNote()
Get the note recorded against the order.

Returns:
the note

setCreatedBy

void setCreatedBy(CmUser createdBy)
Set the CM User who created this order note.

Parameters:
createdBy - the CM user

setCreatedDate

void setCreatedDate(java.util.Date createdDate)
Set the date that the order is created.

Parameters:
createdDate - the start date

setNote

void setNote(java.lang.String note)
Set the note against the order.

Parameters:
note - the note against the order