Class DoCloseAccount

java.lang.Object
pt.tecnico.uilib.menus.Command<Savings>
bank.app.savings.DoCloseAccount

public class DoCloseAccount extends Command<Savings>
Close the account.
  • Constructor Details

    • DoCloseAccount

      public DoCloseAccount(Savings 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<Savings>
      See Also:
      pt.tecnico.po.ui.Command#execute()