Class DoShowTotalBalance

java.lang.Object
pt.tecnico.uilib.menus.Command<Account>
bank.app.account.DoShowTotalBalance

public class DoShowTotalBalance extends Command<Account>
Command for showing the balance of an account.
  • Constructor Details

    • DoShowTotalBalance

      public DoShowTotalBalance(Account receiver)
      Parameters:
      receiver -
  • Method Details

    • execute

      protected final void execute()
      Description copied from class: Command
      Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.
      Specified by:
      execute in class Command<Account>
      See Also:
      pt.tecnico.po.ui.Command#execute()