Пример #1
0
 public void Payday(PayCheck payCheck)
 {
     payCheck.GrossPay   = Classification.CalculatePay(payCheck);
     payCheck.Deductions = Affiliation.CalculateDeductions(payCheck);
     payCheck.NetPay     = payCheck.GrossPay - payCheck.Deductions;
     Method.Pay(payCheck);
 }
 public abstract double CalculatePay(PayCheck payCheck);
Пример #3
0
 public abstract double CalculateDeductions(PayCheck payCheck);
Пример #4
0
 public abstract void Pay(PayCheck payCheck);