Class 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:
    Serialized Form
    • Constructor Detail

      • OrderFulfillmentNote

        public OrderFulfillmentNote()
    • 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 of Tracking information to expose the context state for this object.
        Specified by:
        getContextState in interface com.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 of Tracking information to expose the context state for this object.
        Specified by:
        setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
        Parameters:
        contextState - a subset of Tracking information to expose the context state for this object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object