Class CustomerSingleIndexRequestPayload

  • All Implemented Interfaces:
    com.broadleafcommerce.data.tracking.core.Identifiable, Serializable

    public final class CustomerSingleIndexRequestPayload
    extends Object
    implements Serializable, com.broadleafcommerce.data.tracking.core.Identifiable
    The SingleIndexRequest.payload used for index requests triggered from CRUD operations on persisted-domain-counterparts of Customer.
    Author:
    Samarth Dhruva (samarthd)
    See Also:
    Serialized Form
    • Constructor Detail

      • CustomerSingleIndexRequestPayload

        public CustomerSingleIndexRequestPayload​(String contextId,
                                                 com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface com.broadleafcommerce.data.tracking.core.Identifiable
      • getContextId

        public String getContextId()
        The context ID of the customer for which a reindex will be requested.
      • getTracking

        public com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking getTracking()
        The tracking information of the customer for which a reindex will be requested.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object