public MortgageAccount(Customer customer, decimal moneyTransaction, decimal interestRate)
     : base(customer, moneyTransaction, interestRate)
 {
 }
 public DepositAccount(Customer customer, decimal moneyTransaction, decimal interestRate)
     : base(customer, moneyTransaction, interestRate)
 {
 }
示例#3
0
 public LoanAccount(Customer customer, decimal balance)
     : base(customer, balance)
 {
 }
示例#4
0
 protected Account(Customer customer, decimal balance)
 {
     this.Customer = customer;
     this.Balance = balance;
 }
示例#5
0
 public Loan(Customer customer, decimal ballance, decimal interest)
     : base(customer, ballance, interest)
 {
     this.Type = AccountType.Loan;
 }
示例#6
0
 public MortgageAccount(Customer customer, decimal balance)
     : base(customer, balance)
 {
 }
示例#7
0
        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;
        }
示例#8
0
 public Account(Customer customer, decimal ballance, decimal interest)
 {
     this.Customer = customer;
     this.Ballance = ballance;
     this.InterestRate = interest;
 }
示例#9
0
 public DepositAccount(Customer customer, decimal balance)
     : base(customer, balance)
 {
 }