public Deposit(string nameCustomer, CustumerType typeCustomer, decimal balcanceAccount, double interestrateAcc) { this.Pbalance = balcanceAccount; this.Pcustomer = typeCustomer; this.PcustomerName = nameCustomer; this.PinterestRate = interestrateAcc; }
public Mortgage(string namecustomer, CustumerType typeCustomer, decimal balanceAcc, double intertestRateAcc) { this.Pbalance = balanceAcc; this.Pcustomer = typeCustomer; this.PcustomerName = namecustomer; this.PinterestRate = intertestRateAcc; }
public Customer(string firstName, string middleName, string lastName, string email, string mobilePhone, string permanentAddress, int id , List<Payment> payment, CustumerType costumerType) { this.FirstName = firstName; this.Payments = payment; this.MiddleName = middleName; this.LastName = lastName; this.Email = email; this.MobilePhone = mobilePhone; this.PermanentAddress = permanentAddress; this.Id = id; this.CustomerType = costumerType; }
public Account(CustumerType custumer, decimal balance, double interestRate) { this.Custumer = custumer; this.Balance = balance; this.InterestRate = interestRate; }
public LoanAccount(CustumerType custumer, decimal balance, double interestRate) : base(custumer, balance, interestRate) { }
public DepositAccount(CustumerType custumer, decimal balance, double interestRate) : base(custumer, balance, interestRate) { }
//Constructors public Custumer(CustumerType custumerType, string custumerName) { this.CustumerName = custumerName; this.Type = custumerType; }