Paystub constructor
Paystub({
- required Deductions deductions,
- required String docId,
- required Earnings earnings,
- required Employee employee,
- required PaystubEmployer employer,
- EmploymentDetails? employmentDetails,
- required NetPay netPay,
- required PayPeriodDetails payPeriodDetails,
- PaystubDetails? paystubDetails,
- List<
IncomeBreakdown> ? incomeBreakdown, - PaystubYTDDetails? ytdEarnings,
Implementation
Paystub({
required this.deductions,
required this.docId,
required this.earnings,
required this.employee,
required this.employer,
this.employmentDetails,
required this.netPay,
required this.payPeriodDetails,
this.paystubDetails,
this.incomeBreakdown,
this.ytdEarnings,
});