java.lang.Object
com.broadleafcommerce.cart.provider.jpa.repository.util.ItemListCount
All Implemented Interfaces:
Serializable

public class ItemListCount extends Object implements Serializable
A DTO to gather and map item counts for item lists.
Author:
Marie Standeven
See Also:
  • Constructor Details

    • ItemListCount

      public ItemListCount(String itemListId, Long itemCount)
    • ItemListCount

      public ItemListCount()
  • Method Details

    • getItemListId

      public String getItemListId()
      The ID of this Item List.
      Returns:
      the ID of this Item List Item
    • getItemCount

      public Long getItemCount()
      The item count of this item list.
      Returns:
      the item count of this item list
    • setItemListId

      public void setItemListId(String itemListId)
      The ID of this Item List.
      Parameters:
      itemListId - the ID of this Item List Item
    • setItemCount

      public void setItemCount(Long itemCount)
      The item count of this item list.
      Parameters:
      itemCount - the item count of this item list
    • 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