示例#1
0
 public PensionScheme(Customer customer, DepositAccount depositAccount, Premium premium, int expirationYear, DateTime StartDate, PensionsSchemeNumber pensionsSchemeNumber)
 {
     this.PensionsSchemeNumber = pensionsSchemeNumber.GetNextNumber();
     this.Customer             = customer;
     this.DepositAccount       = depositAccount;
     this.Premium        = premium;
     this.ExpirationYear = expirationYear;
     this.StartDate      = StartDate;
 }
示例#2
0
 public double ShowDepositAccount()
 {
     return(DepositAccount.GetCurrentValue());
 }