Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- parseEmployee(Scanner) - Static method in class solution.PayrollGenerator
-
Creates and returns a new Employee (FullTime or Hourly) based on the next line queued in the passed-in Scanner.
- paymentBreakdown() - Method in class solution.Employee
-
Generates a String that can be added to the end of the paystub to show the breakdown of the payment.
- paymentBreakdown() - Method in class solution.FullTime
-
Returns a String that shows the payment breakdown for a FullTime employee with include their salary and gross pay.
- paymentBreakdown() - Method in class solution.Hourly
-
Returns a String that shows the payment breakdown for an Hourly employee with include their hourly rate, hours, and gross pay.
- PayrollGenerator - Class in solution
-
Generates the payroll for a company.
- PayrollGenerator() - Constructor for class solution.PayrollGenerator
All Classes and Interfaces|All Packages|Constant Field Values