Class RestockReport.RestockItem
java.lang.Object
csce331.group13.project2.backend.RestockReport.RestockItem
- Enclosing class:
RestockReport
Represents an inventory item that needs restocking.
- Author:
- Austin Glander, Kade Mertins
-
Constructor Summary
ConstructorsConstructorDescriptionRestockItem(String itemName, int quantity) Constructs a RestockItem with the specified item name and current quantity. -
Method Summary
Modifier and TypeMethodDescriptionGets the item name.intGets the current quantity in stock.
-
Constructor Details
-
RestockItem
Constructs a RestockItem with the specified item name and current quantity.- Parameters:
itemName- The name of the inventory item.quantity- The current stock quantity.
-
-
Method Details
-
getItemName
-
getQuantity
public int getQuantity()Gets the current quantity in stock.- Returns:
- The current stock quantity.
-