Class UpdateDetailsPage

java.lang.Object
Common.UserInterface
UI.AccountManagementPages.UpdateDetailsPage

public class UpdateDetailsPage extends UserInterface
The UpdateDetailsPage class provides functionality for updating account details such as password, phone number, and email. It extends UserInterface and interacts with the AccountManager to manage account details based on the user's role.
  • Constructor Details

    • UpdateDetailsPage

      public UpdateDetailsPage(AccountManager accountManager)
      Constructs an UpdateDetailsPage with the specified AccountManager instance.
      Parameters:
      accountManager - the manager used to access and manage account details
  • Method Details

    • displayOptions

      public void displayOptions(Account account)
      Displays options for updating account details based on the user's role.
      Parameters:
      account - the Account of the user whose details are being updated