Package com.xero.models.payrolluk
Class Payslip
java.lang.Object
com.xero.models.payrolluk.Payslip
public class Payslip extends Object
Payslip
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayslip.PaymentMethodEnumThe payment method code -
Constructor Summary
Constructors Constructor Description Payslip() -
Method Summary
Modifier and Type Method Description PayslipaddBenefitLinesItem(BenefitLine benefitLinesItem)PayslipaddCourtOrderLinesItem(CourtOrderLine courtOrderLinesItem)PayslipaddDeductionLinesItem(DeductionLine deductionLinesItem)PayslipaddEarningsLinesItem(EarningsLine earningsLinesItem)PayslipaddEmployeeTaxLinesItem(TaxLine employeeTaxLinesItem)PayslipaddLeaveAccrualLinesItem(LeaveAccrualLine leaveAccrualLinesItem)PayslipaddLeaveEarningsLinesItem(LeaveEarningsLine leaveEarningsLinesItem)PayslipaddPaymentLinesItem(PaymentLine paymentLinesItem)PayslipaddReimbursementLinesItem(ReimbursementLine reimbursementLinesItem)PayslipaddTimesheetEarningsLinesItem(TimesheetEarningsLine timesheetEarningsLinesItem)PayslipbacsHash(String bacsHash)PayslipbenefitLines(List<BenefitLine> benefitLines)PayslipcourtOrderLines(List<CourtOrderLine> courtOrderLines)PayslipdeductionLines(List<DeductionLine> deductionLines)PayslipearningsLines(List<EarningsLine> earningsLines)PayslipemployeeID(UUID employeeID)PayslipemployeeTaxLines(List<TaxLine> employeeTaxLines)booleanequals(Object o)PayslipfirstName(String firstName)StringgetBacsHash()BACS Service User NumberList<BenefitLine>getBenefitLines()Get benefitLinesList<CourtOrderLine>getCourtOrderLines()Get courtOrderLinesList<DeductionLine>getDeductionLines()Get deductionLinesList<EarningsLine>getEarningsLines()Get earningsLinesUUIDgetEmployeeID()The Xero identifier for payroll employeeList<TaxLine>getEmployeeTaxLines()Get employeeTaxLinesStringgetFirstName()Employee first nameDoublegetGrossEarnings()Total earnings before any deductions.org.threeten.bp.LocalDateTimegetLastEdited()The date payslip was last updatedStringgetLastName()Employee last nameList<LeaveAccrualLine>getLeaveAccrualLines()Get leaveAccrualLinesList<LeaveEarningsLine>getLeaveEarningsLines()Get leaveEarningsLinesList<PaymentLine>getPaymentLines()Get paymentLinesPayslip.PaymentMethodEnumgetPaymentMethod()The payment method codeUUIDgetPayRunID()The Xero identifier for the associated payrunUUIDgetPaySlipID()The Xero identifier for a PayslipList<ReimbursementLine>getReimbursementLines()Get reimbursementLinesList<TimesheetEarningsLine>getTimesheetEarningsLines()Get timesheetEarningsLinesDoublegetTotalBenefits()Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salariesDoublegetTotalCourtOrders()Total amounts required by law to subtract from the employee's earningsDoublegetTotalDeductions()Total amount subtracted from an employee's earnings to reach total payDoublegetTotalEarnings()Total earnings before any deductions.DoublegetTotalEmployeeTaxes()The part of an employee's earnings that is deducted for tax purposesDoublegetTotalEmployerTaxes()The employer's tax obligationDoublegetTotalPay()The employee net payDoublegetTotalReimbursements()Total reimbursements are nontaxable payments to an employee used to repay out-of-pocket expenses when the person incurs those expenses through employmentPayslipgrossEarnings(Double grossEarnings)inthashCode()PaysliplastEdited(org.threeten.bp.LocalDateTime lastEdited)PaysliplastName(String lastName)PayslipleaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines)PayslipleaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines)PayslippaymentLines(List<PaymentLine> paymentLines)PayslippaymentMethod(Payslip.PaymentMethodEnum paymentMethod)PayslippayRunID(UUID payRunID)PayslippaySlipID(UUID paySlipID)PayslipreimbursementLines(List<ReimbursementLine> reimbursementLines)voidsetBacsHash(String bacsHash)voidsetBenefitLines(List<BenefitLine> benefitLines)voidsetCourtOrderLines(List<CourtOrderLine> courtOrderLines)voidsetDeductionLines(List<DeductionLine> deductionLines)voidsetEarningsLines(List<EarningsLine> earningsLines)voidsetEmployeeID(UUID employeeID)voidsetEmployeeTaxLines(List<TaxLine> employeeTaxLines)voidsetFirstName(String firstName)voidsetGrossEarnings(Double grossEarnings)voidsetLastEdited(org.threeten.bp.LocalDateTime lastEdited)voidsetLastName(String lastName)voidsetLeaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines)voidsetLeaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines)voidsetPaymentLines(List<PaymentLine> paymentLines)voidsetPaymentMethod(Payslip.PaymentMethodEnum paymentMethod)voidsetPayRunID(UUID payRunID)voidsetPaySlipID(UUID paySlipID)voidsetReimbursementLines(List<ReimbursementLine> reimbursementLines)voidsetTimesheetEarningsLines(List<TimesheetEarningsLine> timesheetEarningsLines)voidsetTotalBenefits(Double totalBenefits)voidsetTotalCourtOrders(Double totalCourtOrders)voidsetTotalDeductions(Double totalDeductions)voidsetTotalEarnings(Double totalEarnings)voidsetTotalEmployeeTaxes(Double totalEmployeeTaxes)voidsetTotalEmployerTaxes(Double totalEmployerTaxes)voidsetTotalPay(Double totalPay)voidsetTotalReimbursements(Double totalReimbursements)PaysliptimesheetEarningsLines(List<TimesheetEarningsLine> timesheetEarningsLines)StringtoString()PaysliptotalBenefits(Double totalBenefits)PaysliptotalCourtOrders(Double totalCourtOrders)PaysliptotalDeductions(Double totalDeductions)PaysliptotalEarnings(Double totalEarnings)PaysliptotalEmployeeTaxes(Double totalEmployeeTaxes)PaysliptotalEmployerTaxes(Double totalEmployerTaxes)PaysliptotalPay(Double totalPay)PaysliptotalReimbursements(Double totalReimbursements)
-
Constructor Details
-
Payslip
public Payslip()
-
-
Method Details
-
paySlipID
-
getPaySlipID
The Xero identifier for a Payslip- Returns:
- paySlipID
-
setPaySlipID
-
employeeID
-
getEmployeeID
The Xero identifier for payroll employee- Returns:
- employeeID
-
setEmployeeID
-
payRunID
-
getPayRunID
The Xero identifier for the associated payrun- Returns:
- payRunID
-
setPayRunID
-
lastEdited
-
getLastEdited
public org.threeten.bp.LocalDateTime getLastEdited()The date payslip was last updated- Returns:
- lastEdited
-
setLastEdited
public void setLastEdited(org.threeten.bp.LocalDateTime lastEdited) -
firstName
-
getFirstName
Employee first name- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Employee last name- Returns:
- lastName
-
setLastName
-
totalEarnings
-
getTotalEarnings
Total earnings before any deductions. Same as gross earnings for UK.- Returns:
- totalEarnings
-
setTotalEarnings
-
grossEarnings
-
getGrossEarnings
Total earnings before any deductions. Same as total earnings for UK.- Returns:
- grossEarnings
-
setGrossEarnings
-
totalPay
-
getTotalPay
The employee net pay- Returns:
- totalPay
-
setTotalPay
-
totalEmployerTaxes
-
getTotalEmployerTaxes
The employer's tax obligation- Returns:
- totalEmployerTaxes
-
setTotalEmployerTaxes
-
totalEmployeeTaxes
-
getTotalEmployeeTaxes
The part of an employee's earnings that is deducted for tax purposes- Returns:
- totalEmployeeTaxes
-
setTotalEmployeeTaxes
-
totalDeductions
-
getTotalDeductions
Total amount subtracted from an employee's earnings to reach total pay- Returns:
- totalDeductions
-
setTotalDeductions
-
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
-
totalCourtOrders
-
getTotalCourtOrders
Total amounts required by law to subtract from the employee's earnings- Returns:
- totalCourtOrders
-
setTotalCourtOrders
-
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
-
bacsHash
-
getBacsHash
BACS Service User Number- Returns:
- bacsHash
-
setBacsHash
-
paymentMethod
-
getPaymentMethod
The payment method code- Returns:
- paymentMethod
-
setPaymentMethod
-
earningsLines
-
addEarningsLinesItem
-
getEarningsLines
Get earningsLines- Returns:
- earningsLines
-
setEarningsLines
-
leaveEarningsLines
-
addLeaveEarningsLinesItem
-
getLeaveEarningsLines
Get leaveEarningsLines- Returns:
- leaveEarningsLines
-
setLeaveEarningsLines
-
timesheetEarningsLines
-
addTimesheetEarningsLinesItem
-
getTimesheetEarningsLines
Get timesheetEarningsLines- Returns:
- timesheetEarningsLines
-
setTimesheetEarningsLines
-
deductionLines
-
addDeductionLinesItem
-
getDeductionLines
Get deductionLines- Returns:
- deductionLines
-
setDeductionLines
-
reimbursementLines
-
addReimbursementLinesItem
-
getReimbursementLines
Get reimbursementLines- Returns:
- reimbursementLines
-
setReimbursementLines
-
leaveAccrualLines
-
addLeaveAccrualLinesItem
-
getLeaveAccrualLines
Get leaveAccrualLines- Returns:
- leaveAccrualLines
-
setLeaveAccrualLines
-
benefitLines
-
addBenefitLinesItem
-
getBenefitLines
Get benefitLines- Returns:
- benefitLines
-
setBenefitLines
-
paymentLines
-
addPaymentLinesItem
-
getPaymentLines
Get paymentLines- Returns:
- paymentLines
-
setPaymentLines
-
employeeTaxLines
-
addEmployeeTaxLinesItem
-
getEmployeeTaxLines
Get employeeTaxLines- Returns:
- employeeTaxLines
-
setEmployeeTaxLines
-
courtOrderLines
-
addCourtOrderLinesItem
-
getCourtOrderLines
Get courtOrderLines- Returns:
- courtOrderLines
-
setCourtOrderLines
-
equals
-
hashCode
public int hashCode() -
toString
-