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; }
public double ShowDepositAccount() { return(DepositAccount.GetCurrentValue()); }