Package com.xero.models.payrolluk
Class Payslip
java.lang.Object
com.xero.models.payrolluk.Payslip
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBenefitLinesItem(BenefitLine benefitLinesItem) benefitLinesaddCourtOrderLinesItem(CourtOrderLine courtOrderLinesItem) courtOrderLinesaddDeductionLinesItem(DeductionLine deductionLinesItem) deductionLinesaddEarningsLinesItem(EarningsLine earningsLinesItem) earningsLinesaddEmployeeTaxLinesItem(TaxLine employeeTaxLinesItem) employeeTaxLinesaddEmployerTaxLinesItem(TaxLine employerTaxLinesItem) employerTaxLinesaddLeaveAccrualLinesItem(LeaveAccrualLine leaveAccrualLinesItem) leaveAccrualLinesaddLeaveEarningsLinesItem(LeaveEarningsLine leaveEarningsLinesItem) leaveEarningsLinesaddPaymentLinesItem(PaymentLine paymentLinesItem) paymentLinesaddReimbursementLinesItem(ReimbursementLine reimbursementLinesItem) reimbursementLinesaddTimesheetEarningsLinesItem(TimesheetEarningsLine timesheetEarningsLinesItem) timesheetEarningsLinesBACS Service User NumberbenefitLines(List<BenefitLine> benefitLines) benefitLinescourtOrderLines(List<CourtOrderLine> courtOrderLines) courtOrderLinesdeductionLines(List<DeductionLine> deductionLines) deductionLinesearningsLines(List<EarningsLine> earningsLines) earningsLinesemployeeID(UUID employeeID) The Xero identifier for payroll employeeemployeeTaxLines(List<TaxLine> employeeTaxLines) employeeTaxLinesemployerTaxLines(List<TaxLine> employerTaxLines) employerTaxLinesbooleanEmployee first nameBACS Service User NumberGet benefitLinesGet courtOrderLinesGet deductionLinesGet earningsLinesThe Xero identifier for payroll employeeGet employeeTaxLinesGet employerTaxLinesEmployee first nameTotal earnings before any deductions.org.threeten.bp.LocalDateTimeThe date payslip was last updatedEmployee last nameGet leaveAccrualLinesGet leaveEarningsLinesGet paymentLinesThe payment method codeThe Xero identifier for the associated payrunThe Xero identifier for a PayslipGet reimbursementLinesGet timesheetEarningsLinesBenefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salariesTotal amounts required by law to subtract from the employee's earningsTotal amount subtracted from an employee's earnings to reach total payTotal earnings before any deductions.The part of an employee's earnings that is deducted for tax purposesThe employer's tax obligationThe employee net payTotal reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employmentgrossEarnings(Double grossEarnings) Total earnings before any deductions.inthashCode()lastEdited(org.threeten.bp.LocalDateTime lastEdited) The date payslip was last updatedEmployee last nameleaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines) leaveAccrualLinesleaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines) leaveEarningsLinespaymentLines(List<PaymentLine> paymentLines) paymentLinespaymentMethod(Payslip.PaymentMethodEnum paymentMethod) The payment method codeThe Xero identifier for the associated payrunThe Xero identifier for a PayslipreimbursementLines(List<ReimbursementLine> reimbursementLines) reimbursementLinesvoidsetBacsHash(String bacsHash) BACS Service User NumbervoidsetBenefitLines(List<BenefitLine> benefitLines) benefitLinesvoidsetCourtOrderLines(List<CourtOrderLine> courtOrderLines) courtOrderLinesvoidsetDeductionLines(List<DeductionLine> deductionLines) deductionLinesvoidsetEarningsLines(List<EarningsLine> earningsLines) earningsLinesvoidsetEmployeeID(UUID employeeID) The Xero identifier for payroll employeevoidsetEmployeeTaxLines(List<TaxLine> employeeTaxLines) employeeTaxLinesvoidsetEmployerTaxLines(List<TaxLine> employerTaxLines) employerTaxLinesvoidsetFirstName(String firstName) Employee first namevoidsetGrossEarnings(Double grossEarnings) Total earnings before any deductions.voidsetLastEdited(org.threeten.bp.LocalDateTime lastEdited) The date payslip was last updatedvoidsetLastName(String lastName) Employee last namevoidsetLeaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines) leaveAccrualLinesvoidsetLeaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines) leaveEarningsLinesvoidsetPaymentLines(List<PaymentLine> paymentLines) paymentLinesvoidsetPaymentMethod(Payslip.PaymentMethodEnum paymentMethod) The payment method codevoidsetPayRunID(UUID payRunID) The Xero identifier for the associated payrunvoidsetPaySlipID(UUID paySlipID) The Xero identifier for a PayslipvoidsetReimbursementLines(List<ReimbursementLine> reimbursementLines) reimbursementLinesvoidsetTimesheetEarningsLines(List<TimesheetEarningsLine> timesheetEarningsLines) timesheetEarningsLinesvoidsetTotalBenefits(Double totalBenefits) Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salariesvoidsetTotalCourtOrders(Double totalCourtOrders) Total amounts required by law to subtract from the employee's earningsvoidsetTotalDeductions(Double totalDeductions) Total amount subtracted from an employee's earnings to reach total payvoidsetTotalEarnings(Double totalEarnings) Total earnings before any deductions.voidsetTotalEmployeeTaxes(Double totalEmployeeTaxes) The part of an employee's earnings that is deducted for tax purposesvoidsetTotalEmployerTaxes(Double totalEmployerTaxes) The employer's tax obligationvoidsetTotalPay(Double totalPay) The employee net payvoidsetTotalReimbursements(Double totalReimbursements) Total reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employmenttimesheetEarningsLines(List<TimesheetEarningsLine> timesheetEarningsLines) timesheetEarningsLinestoString()totalBenefits(Double totalBenefits) Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salariestotalCourtOrders(Double totalCourtOrders) Total amounts required by law to subtract from the employee's earningstotalDeductions(Double totalDeductions) Total amount subtracted from an employee's earnings to reach total paytotalEarnings(Double totalEarnings) Total earnings before any deductions.totalEmployeeTaxes(Double totalEmployeeTaxes) The part of an employee's earnings that is deducted for tax purposestotalEmployerTaxes(Double totalEmployerTaxes) The employer's tax obligationThe employee net paytotalReimbursements(Double totalReimbursements) Total reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employment
-
Constructor Details
-
Payslip
public Payslip()
-
-
Method Details
-
paySlipID
-
getPaySlipID
-
setPaySlipID
The Xero identifier for a Payslip- Parameters:
paySlipID- UUID
-
employeeID
-
getEmployeeID
-
setEmployeeID
The Xero identifier for payroll employee- Parameters:
employeeID- UUID
-
payRunID
-
getPayRunID
-
setPayRunID
The Xero identifier for the associated payrun- Parameters:
payRunID- UUID
-
lastEdited
The date payslip was last updated- Parameters:
lastEdited- LocalDateTime- Returns:
- Payslip
-
getLastEdited
public org.threeten.bp.LocalDateTime getLastEdited()The date payslip was last updated- Returns:
- lastEdited
-
setLastEdited
public void setLastEdited(org.threeten.bp.LocalDateTime lastEdited) The date payslip was last updated- Parameters:
lastEdited- LocalDateTime
-
firstName
-
getFirstName
-
setFirstName
-
lastName
-
getLastName
-
setLastName
-
totalEarnings
-
getTotalEarnings
Total earnings before any deductions. Same as gross earnings for UK.- Returns:
- totalEarnings
-
setTotalEarnings
Total earnings before any deductions. Same as gross earnings for UK.- Parameters:
totalEarnings- Double
-
grossEarnings
-
getGrossEarnings
Total earnings before any deductions. Same as total earnings for UK.- Returns:
- grossEarnings
-
setGrossEarnings
Total earnings before any deductions. Same as total earnings for UK.- Parameters:
grossEarnings- Double
-
totalPay
-
getTotalPay
-
setTotalPay
-
totalEmployerTaxes
-
getTotalEmployerTaxes
-
setTotalEmployerTaxes
The employer's tax obligation- Parameters:
totalEmployerTaxes- Double
-
totalEmployeeTaxes
-
getTotalEmployeeTaxes
The part of an employee's earnings that is deducted for tax purposes- Returns:
- totalEmployeeTaxes
-
setTotalEmployeeTaxes
The part of an employee's earnings that is deducted for tax purposes- Parameters:
totalEmployeeTaxes- Double
-
totalDeductions
-
getTotalDeductions
Total amount subtracted from an employee's earnings to reach total pay- Returns:
- totalDeductions
-
setTotalDeductions
Total amount subtracted from an employee's earnings to reach total pay- Parameters:
totalDeductions- Double
-
totalReimbursements
-
getTotalReimbursements
Total reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employment- Returns:
- totalReimbursements
-
setTotalReimbursements
Total reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employment- Parameters:
totalReimbursements- Double
-
totalCourtOrders
-
getTotalCourtOrders
Total amounts required by law to subtract from the employee's earnings- Returns:
- totalCourtOrders
-
setTotalCourtOrders
Total amounts required by law to subtract from the employee's earnings- Parameters:
totalCourtOrders- Double
-
totalBenefits
-
getTotalBenefits
Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salaries- Returns:
- totalBenefits
-
setTotalBenefits
Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salaries- Parameters:
totalBenefits- Double
-
bacsHash
-
getBacsHash
-
setBacsHash
-
paymentMethod
The payment method code- Parameters:
paymentMethod- PaymentMethodEnum- Returns:
- Payslip
-
getPaymentMethod
-
setPaymentMethod
The payment method code- Parameters:
paymentMethod- PaymentMethodEnum
-
earningsLines
earningsLines- Parameters:
earningsLines- List<EarningsLine>- Returns:
- Payslip
-
addEarningsLinesItem
earningsLines- Parameters:
earningsLinesItem- EarningsLine- Returns:
- Payslip
-
getEarningsLines
-
setEarningsLines
earningsLines- Parameters:
earningsLines- List<EarningsLine>
-
leaveEarningsLines
leaveEarningsLines- Parameters:
leaveEarningsLines- List<LeaveEarningsLine>- Returns:
- Payslip
-
addLeaveEarningsLinesItem
leaveEarningsLines- Parameters:
leaveEarningsLinesItem- LeaveEarningsLine- Returns:
- Payslip
-
getLeaveEarningsLines
Get leaveEarningsLines- Returns:
- leaveEarningsLines
-
setLeaveEarningsLines
leaveEarningsLines- Parameters:
leaveEarningsLines- List<LeaveEarningsLine>
-
timesheetEarningsLines
timesheetEarningsLines- Parameters:
timesheetEarningsLines- List<TimesheetEarningsLine>- Returns:
- Payslip
-
addTimesheetEarningsLinesItem
timesheetEarningsLines- Parameters:
timesheetEarningsLinesItem- TimesheetEarningsLine- Returns:
- Payslip
-
getTimesheetEarningsLines
Get timesheetEarningsLines- Returns:
- timesheetEarningsLines
-
setTimesheetEarningsLines
timesheetEarningsLines- Parameters:
timesheetEarningsLines- List<TimesheetEarningsLine>
-
deductionLines
deductionLines- Parameters:
deductionLines- List<DeductionLine>- Returns:
- Payslip
-
addDeductionLinesItem
deductionLines- Parameters:
deductionLinesItem- DeductionLine- Returns:
- Payslip
-
getDeductionLines
-
setDeductionLines
deductionLines- Parameters:
deductionLines- List<DeductionLine>
-
reimbursementLines
reimbursementLines- Parameters:
reimbursementLines- List<ReimbursementLine>- Returns:
- Payslip
-
addReimbursementLinesItem
reimbursementLines- Parameters:
reimbursementLinesItem- ReimbursementLine- Returns:
- Payslip
-
getReimbursementLines
Get reimbursementLines- Returns:
- reimbursementLines
-
setReimbursementLines
reimbursementLines- Parameters:
reimbursementLines- List<ReimbursementLine>
-
leaveAccrualLines
leaveAccrualLines- Parameters:
leaveAccrualLines- List<LeaveAccrualLine>- Returns:
- Payslip
-
addLeaveAccrualLinesItem
leaveAccrualLines- Parameters:
leaveAccrualLinesItem- LeaveAccrualLine- Returns:
- Payslip
-
getLeaveAccrualLines
Get leaveAccrualLines- Returns:
- leaveAccrualLines
-
setLeaveAccrualLines
leaveAccrualLines- Parameters:
leaveAccrualLines- List<LeaveAccrualLine>
-
benefitLines
benefitLines- Parameters:
benefitLines- List<BenefitLine>- Returns:
- Payslip
-
addBenefitLinesItem
benefitLines- Parameters:
benefitLinesItem- BenefitLine- Returns:
- Payslip
-
getBenefitLines
-
setBenefitLines
benefitLines- Parameters:
benefitLines- List<BenefitLine>
-
paymentLines
paymentLines- Parameters:
paymentLines- List<PaymentLine>- Returns:
- Payslip
-
addPaymentLinesItem
paymentLines- Parameters:
paymentLinesItem- PaymentLine- Returns:
- Payslip
-
getPaymentLines
-
setPaymentLines
paymentLines- Parameters:
paymentLines- List<PaymentLine>
-
employeeTaxLines
-
addEmployeeTaxLinesItem
-
getEmployeeTaxLines
-
setEmployeeTaxLines
-
employerTaxLines
-
addEmployerTaxLinesItem
-
getEmployerTaxLines
-
setEmployerTaxLines
-
courtOrderLines
courtOrderLines- Parameters:
courtOrderLines- List<CourtOrderLine>- Returns:
- Payslip
-
addCourtOrderLinesItem
courtOrderLines- Parameters:
courtOrderLinesItem- CourtOrderLine- Returns:
- Payslip
-
getCourtOrderLines
-
setCourtOrderLines
courtOrderLines- Parameters:
courtOrderLines- List<CourtOrderLine>
-
equals
-
hashCode
-
toString
-