Class CustomerSingleIndexRequestPayload

java.lang.Object
com.broadleafcommerce.customer.provider.jpa.messaging.search.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:
  • Constructor Details

    • CustomerSingleIndexRequestPayload

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

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object