Class AncillaryOrderSingleIndexRequestPayload

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

    public final class AncillaryOrderSingleIndexRequestPayload
    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 entities related to Order.
    Author:
    Samarth Dhruva (samarthd)
    See Also:
    Serialized Form
    • Constructor Detail

      • AncillaryOrderSingleIndexRequestPayload

        public AncillaryOrderSingleIndexRequestPayload​(String contextId,
                                                       String orderId)
    • 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 changed entity entity. This is required if this entity is indexable to reindex it.
      • getOrderId

        public String getOrderId()
        The context ID of the order for which a reindex will be requested.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object