public final class CategoryPrices
extends java.lang.Object
Constructor and Description |
---|
CategoryPrices(int total,
Item... items)
Creates a new
CategoryPrices |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ImmutableList<Item> |
getItems()
|
int |
getTotal()
Gets the total amount of items on this page of the
Category . |
int |
hashCode() |
java.lang.String |
toString() |
public CategoryPrices(int total, Item... items)
CategoryPrices
total
- The total amount of items on this page.items
- The items on this page.public int getTotal()
Category
.Category
.public ImmutableList<Item> getItems()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object