package oving7.abstractaccount;

/**
 * A {@code SavingsAccount} can only have a positive balance. In addition, the account has
 * withdrawal restrictions. A {@code SavingsAccount} has {@code x} number of {@code withdrawals}. If
 * you want to withdraw money after all withdrawals have been used up, the balance should be charged
 * a {@code fee}. If the balance is too low to cover the fee, an {@code IllegalArgumentException}
 * should be thrown.
 * 
 * @see AbstractAccount
 */
public class SavingsAccountDocs extends AbstractAccountDocs {

    // TODO: Add fields here

    /**
     * Initializes a new {@code SavingsAccount} with the specified number of withdrawals and fee.
     * 
     * @param withdrawals the number of withdrawals
     * @param fee the fee
     * @throws IllegalArgumentException if the number of withdrawals or the fee is negative
     */
    public SavingsAccountDocs(int withdrawals, double fee) {
        // TODO: Implement this constructor
    }

    // TODO: Override abstract method here
}
