public Account(Customer customer, double balance, double interestRate, DateTime creationDate) { this.Balance = balance; this.InterestRate = interestRate; this.SetMonth(creationDate); this._customer = customer; }
public LoanAccounts(Customer customer, double balance, double interestRate, DateTime creationDate) : base(customer, balance, interestRate, creationDate) { this._customerType = customer.GetType(); this.CalculateInterest(); }
public DepositAccount(Customer customer, double balance, double interestRate, DateTime creationDate) : base(customer, balance, interestRate, creationDate) { this.CalculateInterest(); }