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