// Constructors public Account(Customer customer, decimal balance, decimal interestRate) { this.Customer = customer; this.Balance = balance; this.InterestRate = interestRate; }
//constructor public Loan(Customer customer, decimal balance, decimal interestRate) : base(customer, balance, interestRate) { }
public DepositAccount(Customer customer, decimal balance, decimal interestRate) { this.customer = customer; this.balance = balance; this.interestRate = interestRate; }
//constructor public Mortgage(Customer customer, decimal balance, decimal interestRate) : base(customer, balance, interestRate) { }
public DepositAcount(Customer customer, decimal balance, decimal interestRate) : base(customer, balance, interestRate) { }
// Add new client public void AddClient(Customer client) { this.Clients.Add(client); }
public LoanAccount(decimal balance, decimal interestRate, Customer customer) : base(balance, interestRate, customer) { }
public Mortgage(Customer accountHolder, decimal balance) : base(accountHolder, balance) { }
public Loan(Customer accountHolder, decimal balance) : base(accountHolder, balance) { }
protected Account(Customer accountholder, decimal balance) { this.Accountholder = accountHolder; this.Balance = balance; }
public Deposit(Customer accountHolder, decimal balance) : base(accountHolder, balance) { }