Package com.xero.models.payrollau
Class Payslip
- java.lang.Object
-
- com.xero.models.payrollau.Payslip
-
public class Payslip extends Object
Payslip
-
-
Constructor Summary
Constructors Constructor Description Payslip()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Payslip_super(Double _super)The Super for the PayslipPayslipaddDeductionLinesItem(DeductionLine deductionLinesItem)deductionLinesPayslipaddEarningsLinesItem(EarningsLine earningsLinesItem)earningsLinesPayslipaddLeaveAccrualLinesItem(LeaveAccrualLine leaveAccrualLinesItem)leaveAccrualLinesPayslipaddLeaveEarningsLinesItem(LeaveEarningsLine leaveEarningsLinesItem)leaveEarningsLinesPayslipaddReimbursementLinesItem(ReimbursementLine reimbursementLinesItem)reimbursementLinesPayslipaddSuperannuationLinesItem(SuperannuationLine superannuationLinesItem)superannuationLinesPayslipaddTaxLinesItem(TaxLine taxLinesItem)taxLinesPayslipaddTimesheetEarningsLinesItem(EarningsLine timesheetEarningsLinesItem)timesheetEarningsLinesPayslipdeductionLines(List<DeductionLine> deductionLines)deductionLinesPayslipdeductions(Double deductions)The Deductions for the PayslipPayslipearningsLines(List<EarningsLine> earningsLines)earningsLinesPayslipemployeeID(UUID employeeID)The Xero identifier for an employeebooleanequals(Object o)PayslipfirstName(String firstName)First name of employeeList<DeductionLine>getDeductionLines()Get deductionLinesDoublegetDeductions()The Deductions for the PayslipList<EarningsLine>getEarningsLines()Get earningsLinesUUIDgetEmployeeID()The Xero identifier for an employeeStringgetFirstName()First name of employeeStringgetLastName()Last name of employeeList<LeaveAccrualLine>getLeaveAccrualLines()Get leaveAccrualLinesList<LeaveEarningsLine>getLeaveEarningsLines()Get leaveEarningsLinesDoublegetNetPay()The NetPay for the PayslipUUIDgetPayslipID()Xero identifier for the payslipList<ReimbursementLine>getReimbursementLines()Get reimbursementLinesDoublegetReimbursements()The Reimbursements for the PayslipDoublegetSuper()The Super for the PayslipList<SuperannuationLine>getSuperannuationLines()Get superannuationLinesDoublegetTax()The Tax for the PayslipList<TaxLine>getTaxLines()Get taxLinesList<EarningsLine>getTimesheetEarningsLines()Get timesheetEarningsLinesStringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()Last modified timestampDoublegetWages()The Wages for the PayslipinthashCode()PaysliplastName(String lastName)Last name of employeePayslipleaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines)leaveAccrualLinesPayslipleaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines)leaveEarningsLinesPayslipnetPay(Double netPay)The NetPay for the PayslipPayslippayslipID(UUID payslipID)Xero identifier for the payslipPayslipreimbursementLines(List<ReimbursementLine> reimbursementLines)reimbursementLinesPayslipreimbursements(Double reimbursements)The Reimbursements for the PayslipvoidsetDeductionLines(List<DeductionLine> deductionLines)deductionLinesvoidsetDeductions(Double deductions)The Deductions for the PayslipvoidsetEarningsLines(List<EarningsLine> earningsLines)earningsLinesvoidsetEmployeeID(UUID employeeID)The Xero identifier for an employeevoidsetFirstName(String firstName)First name of employeevoidsetLastName(String lastName)Last name of employeevoidsetLeaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines)leaveAccrualLinesvoidsetLeaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines)leaveEarningsLinesvoidsetNetPay(Double netPay)The NetPay for the PayslipvoidsetPayslipID(UUID payslipID)Xero identifier for the payslipvoidsetReimbursementLines(List<ReimbursementLine> reimbursementLines)reimbursementLinesvoidsetReimbursements(Double reimbursements)The Reimbursements for the PayslipvoidsetSuper(Double _super)The Super for the PayslipvoidsetSuperannuationLines(List<SuperannuationLine> superannuationLines)superannuationLinesvoidsetTax(Double tax)The Tax for the PayslipvoidsetTaxLines(List<TaxLine> taxLines)taxLinesvoidsetTimesheetEarningsLines(List<EarningsLine> timesheetEarningsLines)timesheetEarningsLinesvoidsetWages(Double wages)The Wages for the PayslipPayslipsuperannuationLines(List<SuperannuationLine> superannuationLines)superannuationLinesPaysliptax(Double tax)The Tax for the PayslipPaysliptaxLines(List<TaxLine> taxLines)taxLinesPaysliptimesheetEarningsLines(List<EarningsLine> timesheetEarningsLines)timesheetEarningsLinesStringtoString()Payslipwages(Double wages)The Wages for the Payslip
-
-
-
Method Detail
-
employeeID
public Payslip employeeID(UUID employeeID)
The Xero identifier for an employee- Parameters:
employeeID- UUID- Returns:
- Payslip
-
getEmployeeID
public UUID getEmployeeID()
The Xero identifier for an employee- Returns:
- employeeID
-
setEmployeeID
public void setEmployeeID(UUID employeeID)
The Xero identifier for an employee- Parameters:
employeeID- UUID
-
payslipID
public Payslip payslipID(UUID payslipID)
Xero identifier for the payslip- Parameters:
payslipID- UUID- Returns:
- Payslip
-
getPayslipID
public UUID getPayslipID()
Xero identifier for the payslip- Returns:
- payslipID
-
setPayslipID
public void setPayslipID(UUID payslipID)
Xero identifier for the payslip- Parameters:
payslipID- UUID
-
firstName
public Payslip firstName(String firstName)
First name of employee- Parameters:
firstName- String- Returns:
- Payslip
-
getFirstName
public String getFirstName()
First name of employee- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
First name of employee- Parameters:
firstName- String
-
lastName
public Payslip lastName(String lastName)
Last name of employee- Parameters:
lastName- String- Returns:
- Payslip
-
getLastName
public String getLastName()
Last name of employee- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
Last name of employee- Parameters:
lastName- String
-
wages
public Payslip wages(Double wages)
The Wages for the Payslip- Parameters:
wages- Double- Returns:
- Payslip
-
getWages
public Double getWages()
The Wages for the Payslip- Returns:
- wages
-
setWages
public void setWages(Double wages)
The Wages for the Payslip- Parameters:
wages- Double
-
deductions
public Payslip deductions(Double deductions)
The Deductions for the Payslip- Parameters:
deductions- Double- Returns:
- Payslip
-
getDeductions
public Double getDeductions()
The Deductions for the Payslip- Returns:
- deductions
-
setDeductions
public void setDeductions(Double deductions)
The Deductions for the Payslip- Parameters:
deductions- Double
-
tax
public Payslip tax(Double tax)
The Tax for the Payslip- Parameters:
tax- Double- Returns:
- Payslip
-
getTax
public Double getTax()
The Tax for the Payslip- Returns:
- tax
-
setTax
public void setTax(Double tax)
The Tax for the Payslip- Parameters:
tax- Double
-
_super
public Payslip _super(Double _super)
The Super for the Payslip- Parameters:
_super- Double- Returns:
- Payslip
-
getSuper
public Double getSuper()
The Super for the Payslip- Returns:
- _super
-
setSuper
public void setSuper(Double _super)
The Super for the Payslip- Parameters:
_super- Double
-
reimbursements
public Payslip reimbursements(Double reimbursements)
The Reimbursements for the Payslip- Parameters:
reimbursements- Double- Returns:
- Payslip
-
getReimbursements
public Double getReimbursements()
The Reimbursements for the Payslip- Returns:
- reimbursements
-
setReimbursements
public void setReimbursements(Double reimbursements)
The Reimbursements for the Payslip- Parameters:
reimbursements- Double
-
netPay
public Payslip netPay(Double netPay)
The NetPay for the Payslip- Parameters:
netPay- Double- Returns:
- Payslip
-
getNetPay
public Double getNetPay()
The NetPay for the Payslip- Returns:
- netPay
-
setNetPay
public void setNetPay(Double netPay)
The NetPay for the Payslip- Parameters:
netPay- Double
-
earningsLines
public Payslip earningsLines(List<EarningsLine> earningsLines)
earningsLines- Parameters:
earningsLines- List<EarningsLine>- Returns:
- Payslip
-
addEarningsLinesItem
public Payslip addEarningsLinesItem(EarningsLine earningsLinesItem)
earningsLines- Parameters:
earningsLinesItem- EarningsLine- Returns:
- Payslip
-
getEarningsLines
public List<EarningsLine> getEarningsLines()
Get earningsLines- Returns:
- earningsLines
-
setEarningsLines
public void setEarningsLines(List<EarningsLine> earningsLines)
earningsLines- Parameters:
earningsLines- List<EarningsLine>
-
leaveEarningsLines
public Payslip leaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines)
leaveEarningsLines- Parameters:
leaveEarningsLines- List<LeaveEarningsLine>- Returns:
- Payslip
-
addLeaveEarningsLinesItem
public Payslip addLeaveEarningsLinesItem(LeaveEarningsLine leaveEarningsLinesItem)
leaveEarningsLines- Parameters:
leaveEarningsLinesItem- LeaveEarningsLine- Returns:
- Payslip
-
getLeaveEarningsLines
public List<LeaveEarningsLine> getLeaveEarningsLines()
Get leaveEarningsLines- Returns:
- leaveEarningsLines
-
setLeaveEarningsLines
public void setLeaveEarningsLines(List<LeaveEarningsLine> leaveEarningsLines)
leaveEarningsLines- Parameters:
leaveEarningsLines- List<LeaveEarningsLine>
-
timesheetEarningsLines
public Payslip timesheetEarningsLines(List<EarningsLine> timesheetEarningsLines)
timesheetEarningsLines- Parameters:
timesheetEarningsLines- List<EarningsLine>- Returns:
- Payslip
-
addTimesheetEarningsLinesItem
public Payslip addTimesheetEarningsLinesItem(EarningsLine timesheetEarningsLinesItem)
timesheetEarningsLines- Parameters:
timesheetEarningsLinesItem- EarningsLine- Returns:
- Payslip
-
getTimesheetEarningsLines
public List<EarningsLine> getTimesheetEarningsLines()
Get timesheetEarningsLines- Returns:
- timesheetEarningsLines
-
setTimesheetEarningsLines
public void setTimesheetEarningsLines(List<EarningsLine> timesheetEarningsLines)
timesheetEarningsLines- Parameters:
timesheetEarningsLines- List<EarningsLine>
-
deductionLines
public Payslip deductionLines(List<DeductionLine> deductionLines)
deductionLines- Parameters:
deductionLines- List<DeductionLine>- Returns:
- Payslip
-
addDeductionLinesItem
public Payslip addDeductionLinesItem(DeductionLine deductionLinesItem)
deductionLines- Parameters:
deductionLinesItem- DeductionLine- Returns:
- Payslip
-
getDeductionLines
public List<DeductionLine> getDeductionLines()
Get deductionLines- Returns:
- deductionLines
-
setDeductionLines
public void setDeductionLines(List<DeductionLine> deductionLines)
deductionLines- Parameters:
deductionLines- List<DeductionLine>
-
leaveAccrualLines
public Payslip leaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines)
leaveAccrualLines- Parameters:
leaveAccrualLines- List<LeaveAccrualLine>- Returns:
- Payslip
-
addLeaveAccrualLinesItem
public Payslip addLeaveAccrualLinesItem(LeaveAccrualLine leaveAccrualLinesItem)
leaveAccrualLines- Parameters:
leaveAccrualLinesItem- LeaveAccrualLine- Returns:
- Payslip
-
getLeaveAccrualLines
public List<LeaveAccrualLine> getLeaveAccrualLines()
Get leaveAccrualLines- Returns:
- leaveAccrualLines
-
setLeaveAccrualLines
public void setLeaveAccrualLines(List<LeaveAccrualLine> leaveAccrualLines)
leaveAccrualLines- Parameters:
leaveAccrualLines- List<LeaveAccrualLine>
-
reimbursementLines
public Payslip reimbursementLines(List<ReimbursementLine> reimbursementLines)
reimbursementLines- Parameters:
reimbursementLines- List<ReimbursementLine>- Returns:
- Payslip
-
addReimbursementLinesItem
public Payslip addReimbursementLinesItem(ReimbursementLine reimbursementLinesItem)
reimbursementLines- Parameters:
reimbursementLinesItem- ReimbursementLine- Returns:
- Payslip
-
getReimbursementLines
public List<ReimbursementLine> getReimbursementLines()
Get reimbursementLines- Returns:
- reimbursementLines
-
setReimbursementLines
public void setReimbursementLines(List<ReimbursementLine> reimbursementLines)
reimbursementLines- Parameters:
reimbursementLines- List<ReimbursementLine>
-
superannuationLines
public Payslip superannuationLines(List<SuperannuationLine> superannuationLines)
superannuationLines- Parameters:
superannuationLines- List<SuperannuationLine>- Returns:
- Payslip
-
addSuperannuationLinesItem
public Payslip addSuperannuationLinesItem(SuperannuationLine superannuationLinesItem)
superannuationLines- Parameters:
superannuationLinesItem- SuperannuationLine- Returns:
- Payslip
-
getSuperannuationLines
public List<SuperannuationLine> getSuperannuationLines()
Get superannuationLines- Returns:
- superannuationLines
-
setSuperannuationLines
public void setSuperannuationLines(List<SuperannuationLine> superannuationLines)
superannuationLines- Parameters:
superannuationLines- List<SuperannuationLine>
-
taxLines
public Payslip taxLines(List<TaxLine> taxLines)
taxLines- Parameters:
taxLines- List<TaxLine>- Returns:
- Payslip
-
addTaxLinesItem
public Payslip addTaxLinesItem(TaxLine taxLinesItem)
taxLines- Parameters:
taxLinesItem- TaxLine- Returns:
- Payslip
-
setTaxLines
public void setTaxLines(List<TaxLine> taxLines)
taxLines- Parameters:
taxLines- List<TaxLine>
-
getUpdatedDateUTC
public String getUpdatedDateUTC()
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
Last modified timestamp- Returns:
- OffsetDateTime
-
-