Class StockRequestPage

java.lang.Object
Common.UserInterface
UI.InventoryPages.StockRequestPage

public class StockRequestPage extends UserInterface
The StockRequestPage class provides functionality for submitting stock requests for medicines. It extends UserInterface and interacts with the InventoryRequestManager to handle inventory requests.
  • Constructor Details

    • StockRequestPage

      public StockRequestPage(InventoryRequestManager inventoryRequestManager)
      Constructs a StockRequestPage with the specified InventoryRequestManager instance.
      Parameters:
      inventoryRequestManager - the manager used to handle inventory requests
  • Method Details

    • displayOption

      public void displayOption()
      Displays options for submitting a stock request. Prompts the user for medicine name and request value, and submits the request through the inventory request manager.