Esempio n. 1
0
 // Constructors
 public Account(Customer customer, decimal balance, decimal interestRate)
 {
     this.Customer = customer;
     this.Balance = balance;
     this.InterestRate = interestRate;
 }
Esempio n. 2
0
 //constructor
 public Loan(Customer customer, decimal balance, decimal interestRate)
     : base(customer, balance, interestRate)
 {
 }
Esempio n. 3
0
 public DepositAccount(Customer customer, decimal balance, decimal interestRate)
 {
     this.customer = customer;
     this.balance = balance;
     this.interestRate = interestRate;
 }
Esempio n. 4
0
 //constructor
 public Mortgage(Customer customer, decimal balance, decimal interestRate) 
     : base(customer, balance, interestRate)
 {
 }
Esempio n. 5
0
 public DepositAcount(Customer customer, decimal balance, decimal interestRate)
     : base(customer, balance, interestRate)
 {
 }
Esempio n. 6
0
 // Add new client
 public void AddClient(Customer client)
 {
     this.Clients.Add(client);
 }
Esempio n. 7
0
 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)
 {
 }