public MortgageAccount(Customer customer, decimal moneyTransaction, decimal interestRate) : base(customer, moneyTransaction, interestRate) { }
public DepositAccount(Customer customer, decimal moneyTransaction, decimal interestRate) : base(customer, moneyTransaction, interestRate) { }
public LoanAccount(Customer customer, decimal balance) : base(customer, balance) { }
protected Account(Customer customer, decimal balance) { this.Customer = customer; this.Balance = balance; }
public Loan(Customer customer, decimal ballance, decimal interest) : base(customer, ballance, interest) { this.Type = AccountType.Loan; }
public MortgageAccount(Customer customer, decimal balance) : base(customer, balance) { }
private decimal noInterestAmount = 1000m; // must be positive #endregion Fields #region Constructors public Deposit(Customer customer, decimal ballance, decimal interest) : base(customer, ballance, interest) { this.Type = AccountType.Deposit; }
public Account(Customer customer, decimal ballance, decimal interest) { this.Customer = customer; this.Ballance = ballance; this.InterestRate = interest; }
public DepositAccount(Customer customer, decimal balance) : base(customer, balance) { }