Class ClearCustomerSegmentRequest

java.lang.Object
com.broadleafcommerce.customer.service.bulk.messaging.ClearCustomerSegmentRequest

public class ClearCustomerSegmentRequest extends Object
Represents a request to remove a customer segment from multiple users.
  • Constructor Details

    • ClearCustomerSegmentRequest

      public ClearCustomerSegmentRequest()
  • Method Details

    • getSegmentId

      public String getSegmentId()
      The segment ID to be removed.
    • getUserIds

      public List<String> getUserIds()
      The IDs of the users to remove from the segment.
    • getTimestamp

      public Instant getTimestamp()
      The timestamp of the persistence event to remove the segment from the User's attributes.
    • setSegmentId

      public void setSegmentId(String segmentId)
      The segment ID to be removed.
    • setUserIds

      public void setUserIds(List<String> userIds)
      The IDs of the users to remove from the segment.
    • setTimestamp

      public void setTimestamp(Instant timestamp)
      The timestamp of the persistence event to remove the segment from the User's attributes.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object