public SavingsAccount(string name, string id, float balance) : base(name, id, balance) { selector = new MethodSelectorExtensionClass(balance); AccountDetails.Type = AccountType.SAVINGS; AccountDetails.AccountName = name; AccountDetails.AccountId = id; AccountDetails.Balance = balance; AccountDetails.AddBtn = true; }
public InterestAccount(string name, string id, float balance) : base(name, id, balance) { selector = new MethodSelectorExtensionClass(balance); AccountDetails.Type = AccountType.INTEREST_CHECKING; AccountDetails.AccountName = name; AccountDetails.AccountId = id; AccountDetails.Balance = balance; AccountDetails.AddBtn = true; }