Package com.xero.models.payrollnz
Class PaySlip
java.lang.Object
com.xero.models.payrollnz.PaySlip
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDeductionLinesItem(DeductionLine deductionLinesItem) deductionLinesaddEarningsLinesItem(EarningsLine earningsLinesItem) earningsLinesaddEmployeeTaxLinesItem(TaxLine employeeTaxLinesItem) employeeTaxLinesaddEmployerTaxLinesItem(TaxLine employerTaxLinesItem) employerTaxLinesaddLeaveAccrualLinesItem(LeaveAccrualLine leaveAccrualLinesItem) leaveAccrualLinesaddLeaveEarningsLinesItem(LeaveEarningsLine leaveEarningsLinesItem) leaveEarningsLinesaddPaymentLinesItem(PaymentLine paymentLinesItem) paymentLinesaddReimbursementLinesItem(ReimbursementLine reimbursementLinesItem) reimbursementLinesaddStatutoryDeductionLinesItem(StatutoryDeductionLine statutoryDeductionLinesItem) statutoryDeductionLinesaddSuperannuationLinesItem(SuperannuationLine superannuationLinesItem) superannuationLinesaddTimesheetEarningsLinesItem(TimesheetEarningsLine timesheetEarningsLinesItem) timesheetEarningsLinesBACS Service User NumberdeductionLines(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 deductionLinesGet earningsLinesThe Xero identifier for payroll employeeGet employeeTaxLinesGet employerTaxLinesEmployee first nameTotal earnings before any deductions.Get grossEarningsHistoryorg.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 statutoryDeductionLinesGet superannuationLinesGet taxSettingsGet timesheetEarningsLinesTotal 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 employmentTotal amounts required by law to subtract from the employee's earningsBenefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salariesgrossEarnings(Double grossEarnings) Total earnings before any deductions.grossEarningsHistory(GrossEarningsHistory grossEarningsHistory) grossEarningsHistoryinthashCode()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 NumbervoidsetDeductionLines(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.voidsetGrossEarningsHistory(GrossEarningsHistory grossEarningsHistory) grossEarningsHistoryvoidsetLastEdited(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) reimbursementLinesvoidsetStatutoryDeductionLines(List<StatutoryDeductionLine> statutoryDeductionLines) statutoryDeductionLinesvoidsetSuperannuationLines(List<SuperannuationLine> superannuationLines) superannuationLinesvoidsetTaxSettings(TaxSettings taxSettings) taxSettingsvoidsetTimesheetEarningsLines(List<TimesheetEarningsLine> timesheetEarningsLines) timesheetEarningsLinesvoidsetTotalDeductions(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 employmentvoidsetTotalStatutoryDeductions(Double totalStatutoryDeductions) Total amounts required by law to subtract from the employee's earningsvoidsetTotalSuperannuation(Double totalSuperannuation) Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salariesstatutoryDeductionLines(List<StatutoryDeductionLine> statutoryDeductionLines) statutoryDeductionLinessuperannuationLines(List<SuperannuationLine> superannuationLines) superannuationLinestaxSettings(TaxSettings taxSettings) taxSettingstimesheetEarningsLines(List<TimesheetEarningsLine> timesheetEarningsLines) timesheetEarningsLinestoString()totalDeductions(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 employmenttotalStatutoryDeductions(Double totalStatutoryDeductions) Total amounts required by law to subtract from the employee's earningstotalSuperannuation(Double totalSuperannuation) Benefits (also called fringe benefits, perquisites or perks) are various non-earnings compensations provided to employees in addition to their normal earnings or salaries
-
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 NZ.- Returns:
- totalEarnings
-
setTotalEarnings
Total earnings before any deductions. Same as gross earnings for NZ.- Parameters:
totalEarnings- Double
-
grossEarnings
-
getGrossEarnings
Total earnings before any deductions. Same as total earnings for NZ.- Returns:
- grossEarnings
-
setGrossEarnings
Total earnings before any deductions. Same as total earnings for NZ.- 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
-
totalStatutoryDeductions
-
getTotalStatutoryDeductions
Total amounts required by law to subtract from the employee's earnings- Returns:
- totalStatutoryDeductions
-
setTotalStatutoryDeductions
Total amounts required by law to subtract from the employee's earnings- Parameters:
totalStatutoryDeductions- Double
-
totalSuperannuation
-
getTotalSuperannuation
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:
- totalSuperannuation
-
setTotalSuperannuation
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:
totalSuperannuation- 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>
-
superannuationLines
superannuationLines- Parameters:
superannuationLines- List<SuperannuationLine>- Returns:
- PaySlip
-
addSuperannuationLinesItem
superannuationLines- Parameters:
superannuationLinesItem- SuperannuationLine- Returns:
- PaySlip
-
getSuperannuationLines
Get superannuationLines- Returns:
- superannuationLines
-
setSuperannuationLines
superannuationLines- Parameters:
superannuationLines- List<SuperannuationLine>
-
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
-
statutoryDeductionLines
statutoryDeductionLines- Parameters:
statutoryDeductionLines- List<StatutoryDeductionLine>- Returns:
- PaySlip
-
addStatutoryDeductionLinesItem
statutoryDeductionLines- Parameters:
statutoryDeductionLinesItem- StatutoryDeductionLine- Returns:
- PaySlip
-
getStatutoryDeductionLines
Get statutoryDeductionLines- Returns:
- statutoryDeductionLines
-
setStatutoryDeductionLines
statutoryDeductionLines- Parameters:
statutoryDeductionLines- List<StatutoryDeductionLine>
-
taxSettings
taxSettings- Parameters:
taxSettings- TaxSettings- Returns:
- PaySlip
-
getTaxSettings
-
setTaxSettings
taxSettings- Parameters:
taxSettings- TaxSettings
-
grossEarningsHistory
grossEarningsHistory- Parameters:
grossEarningsHistory- GrossEarningsHistory- Returns:
- PaySlip
-
getGrossEarningsHistory
Get grossEarningsHistory- Returns:
- grossEarningsHistory
-
setGrossEarningsHistory
grossEarningsHistory- Parameters:
grossEarningsHistory- GrossEarningsHistory
-
equals
-
hashCode
-
toString
-