Example #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);
Example #3
0
 public abstract double CalculateDeductions(PayCheck payCheck);
Example #4
0
 public abstract void Pay(PayCheck payCheck);