Class DoWithdraw


public class DoWithdraw extends Command<Account>
Withdrawal command.
  • Constructor Details

    • DoWithdraw

      public DoWithdraw(Account account)
      Parameters:
      account -
  • Method Details

    • execute

      protected final void execute() throws CommandException
      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>
      Throws:
      CommandException - if something wrong or unexpected occurs.
      See Also:
      pt.tecnico.po.ui.Command#execute()