Class PaySlip

java.lang.Object
com.xero.models.payrollnz.PaySlip

public class PaySlip
extends Object
PaySlip
  • Constructor Details

    • PaySlip

      public PaySlip()
  • Method Details

    • paySlipID

      public PaySlip paySlipID​(UUID paySlipID)
    • getPaySlipID

      public UUID getPaySlipID()
      The Xero identifier for a PaySlip
      Returns:
      paySlipID
    • setPaySlipID

      public void setPaySlipID​(UUID paySlipID)
    • employeeID

      public PaySlip employeeID​(UUID employeeID)
    • getEmployeeID

      public UUID getEmployeeID()
      The Xero identifier for payroll employee
      Returns:
      employeeID
    • setEmployeeID

      public void setEmployeeID​(UUID employeeID)
    • payRunID

      public PaySlip payRunID​(UUID payRunID)
    • getPayRunID

      public UUID getPayRunID()
      The Xero identifier for the associated payrun
      Returns:
      payRunID
    • setPayRunID

      public void setPayRunID​(UUID payRunID)
    • lastEdited

      public PaySlip lastEdited​(org.threeten.bp.LocalDateTime 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

      public PaySlip firstName​(String firstName)
    • getFirstName

      public String getFirstName()
      Employee first name
      Returns:
      firstName
    • setFirstName

      public void setFirstName​(String firstName)
    • lastName

      public PaySlip lastName​(String lastName)
    • getLastName

      public String getLastName()
      Employee last name
      Returns:
      lastName
    • setLastName

      public void setLastName​(String lastName)
    • totalEarnings

      public PaySlip totalEarnings​(Double totalEarnings)
    • getTotalEarnings

      public Double getTotalEarnings()
      Total earnings before any deductions. Same as gross earnings for NZ.
      Returns:
      totalEarnings
    • setTotalEarnings

      public void setTotalEarnings​(Double totalEarnings)
    • grossEarnings

      public PaySlip grossEarnings​(Double grossEarnings)
    • getGrossEarnings

      public Double getGrossEarnings()
      Total earnings before any deductions. Same as total earnings for NZ.
      Returns:
      grossEarnings
    • setGrossEarnings

      public void setGrossEarnings​(Double grossEarnings)
    • totalPay

      public PaySlip totalPay​(Double totalPay)
    • getTotalPay

      public Double getTotalPay()
      The employee net pay
      Returns:
      totalPay
    • setTotalPay

      public void setTotalPay​(Double totalPay)
    • totalEmployerTaxes

      public PaySlip totalEmployerTaxes​(Double totalEmployerTaxes)
    • getTotalEmployerTaxes

      public Double getTotalEmployerTaxes()
      The employer's tax obligation
      Returns:
      totalEmployerTaxes
    • setTotalEmployerTaxes

      public void setTotalEmployerTaxes​(Double totalEmployerTaxes)
    • totalEmployeeTaxes

      public PaySlip totalEmployeeTaxes​(Double totalEmployeeTaxes)
    • getTotalEmployeeTaxes

      public Double getTotalEmployeeTaxes()
      The part of an employee's earnings that is deducted for tax purposes
      Returns:
      totalEmployeeTaxes
    • setTotalEmployeeTaxes

      public void setTotalEmployeeTaxes​(Double totalEmployeeTaxes)
    • totalDeductions

      public PaySlip totalDeductions​(Double totalDeductions)
    • getTotalDeductions

      public Double getTotalDeductions()
      Total amount subtracted from an employee's earnings to reach total pay
      Returns:
      totalDeductions
    • setTotalDeductions

      public void setTotalDeductions​(Double totalDeductions)
    • totalReimbursements

      public PaySlip totalReimbursements​(Double totalReimbursements)
    • getTotalReimbursements

      public Double 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

      public void setTotalReimbursements​(Double totalReimbursements)
    • totalStatutoryDeductions

      public PaySlip totalStatutoryDeductions​(Double totalStatutoryDeductions)
    • getTotalStatutoryDeductions

      public Double getTotalStatutoryDeductions()
      Total amounts required by law to subtract from the employee's earnings
      Returns:
      totalStatutoryDeductions
    • setTotalStatutoryDeductions

      public void setTotalStatutoryDeductions​(Double totalStatutoryDeductions)
    • totalSuperannuation

      public PaySlip totalSuperannuation​(Double totalSuperannuation)
    • getTotalSuperannuation

      public Double 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

      public void setTotalSuperannuation​(Double totalSuperannuation)
    • bacsHash

      public PaySlip bacsHash​(String bacsHash)
    • getBacsHash

      public String getBacsHash()
      BACS Service User Number
      Returns:
      bacsHash
    • setBacsHash

      public void setBacsHash​(String bacsHash)
    • paymentMethod

      public PaySlip paymentMethod​(PaySlip.PaymentMethodEnum paymentMethod)
    • getPaymentMethod

      public PaySlip.PaymentMethodEnum getPaymentMethod()
      The payment method code
      Returns:
      paymentMethod
    • setPaymentMethod

      public void setPaymentMethod​(PaySlip.PaymentMethodEnum paymentMethod)
    • earningsLines

      public PaySlip earningsLines​(List<EarningsLine> earningsLines)
    • addEarningsLinesItem

      public PaySlip addEarningsLinesItem​(EarningsLine earningsLinesItem)
    • getEarningsLines

      public List<EarningsLine> getEarningsLines()
      Get earningsLines
      Returns:
      earningsLines
    • setEarningsLines

      public void setEarningsLines​(List<EarningsLine> earningsLines)
    • leaveEarningsLines

      public PaySlip leaveEarningsLines​(List<LeaveEarningsLine> leaveEarningsLines)
    • addLeaveEarningsLinesItem

      public PaySlip addLeaveEarningsLinesItem​(LeaveEarningsLine leaveEarningsLinesItem)
    • getLeaveEarningsLines

      public List<LeaveEarningsLine> getLeaveEarningsLines()
      Get leaveEarningsLines
      Returns:
      leaveEarningsLines
    • setLeaveEarningsLines

      public void setLeaveEarningsLines​(List<LeaveEarningsLine> leaveEarningsLines)
    • timesheetEarningsLines

      public PaySlip timesheetEarningsLines​(List<TimesheetEarningsLine> timesheetEarningsLines)
    • addTimesheetEarningsLinesItem

      public PaySlip addTimesheetEarningsLinesItem​(TimesheetEarningsLine timesheetEarningsLinesItem)
    • getTimesheetEarningsLines

      public List<TimesheetEarningsLine> getTimesheetEarningsLines()
      Get timesheetEarningsLines
      Returns:
      timesheetEarningsLines
    • setTimesheetEarningsLines

      public void setTimesheetEarningsLines​(List<TimesheetEarningsLine> timesheetEarningsLines)
    • deductionLines

      public PaySlip deductionLines​(List<DeductionLine> deductionLines)
    • addDeductionLinesItem

      public PaySlip addDeductionLinesItem​(DeductionLine deductionLinesItem)
    • getDeductionLines

      public List<DeductionLine> getDeductionLines()
      Get deductionLines
      Returns:
      deductionLines
    • setDeductionLines

      public void setDeductionLines​(List<DeductionLine> deductionLines)
    • reimbursementLines

      public PaySlip reimbursementLines​(List<ReimbursementLine> reimbursementLines)
    • addReimbursementLinesItem

      public PaySlip addReimbursementLinesItem​(ReimbursementLine reimbursementLinesItem)
    • getReimbursementLines

      public List<ReimbursementLine> getReimbursementLines()
      Get reimbursementLines
      Returns:
      reimbursementLines
    • setReimbursementLines

      public void setReimbursementLines​(List<ReimbursementLine> reimbursementLines)
    • leaveAccrualLines

      public PaySlip leaveAccrualLines​(List<LeaveAccrualLine> leaveAccrualLines)
    • addLeaveAccrualLinesItem

      public PaySlip addLeaveAccrualLinesItem​(LeaveAccrualLine leaveAccrualLinesItem)
    • getLeaveAccrualLines

      public List<LeaveAccrualLine> getLeaveAccrualLines()
      Get leaveAccrualLines
      Returns:
      leaveAccrualLines
    • setLeaveAccrualLines

      public void setLeaveAccrualLines​(List<LeaveAccrualLine> leaveAccrualLines)
    • superannuationLines

      public PaySlip superannuationLines​(List<SuperannuationLine> superannuationLines)
    • addSuperannuationLinesItem

      public PaySlip addSuperannuationLinesItem​(SuperannuationLine superannuationLinesItem)
    • getSuperannuationLines

      public List<SuperannuationLine> getSuperannuationLines()
      Get superannuationLines
      Returns:
      superannuationLines
    • setSuperannuationLines

      public void setSuperannuationLines​(List<SuperannuationLine> superannuationLines)
    • paymentLines

      public PaySlip paymentLines​(List<PaymentLine> paymentLines)
    • addPaymentLinesItem

      public PaySlip addPaymentLinesItem​(PaymentLine paymentLinesItem)
    • getPaymentLines

      public List<PaymentLine> getPaymentLines()
      Get paymentLines
      Returns:
      paymentLines
    • setPaymentLines

      public void setPaymentLines​(List<PaymentLine> paymentLines)
    • employeeTaxLines

      public PaySlip employeeTaxLines​(List<TaxLine> employeeTaxLines)
    • addEmployeeTaxLinesItem

      public PaySlip addEmployeeTaxLinesItem​(TaxLine employeeTaxLinesItem)
    • getEmployeeTaxLines

      public List<TaxLine> getEmployeeTaxLines()
      Get employeeTaxLines
      Returns:
      employeeTaxLines
    • setEmployeeTaxLines

      public void setEmployeeTaxLines​(List<TaxLine> employeeTaxLines)
    • employerTaxLines

      public PaySlip employerTaxLines​(List<TaxLine> employerTaxLines)
    • addEmployerTaxLinesItem

      public PaySlip addEmployerTaxLinesItem​(TaxLine employerTaxLinesItem)
    • getEmployerTaxLines

      public List<TaxLine> getEmployerTaxLines()
      Get employerTaxLines
      Returns:
      employerTaxLines
    • setEmployerTaxLines

      public void setEmployerTaxLines​(List<TaxLine> employerTaxLines)
    • statutoryDeductionLines

      public PaySlip statutoryDeductionLines​(List<StatutoryDeductionLine> statutoryDeductionLines)
    • addStatutoryDeductionLinesItem

      public PaySlip addStatutoryDeductionLinesItem​(StatutoryDeductionLine statutoryDeductionLinesItem)
    • getStatutoryDeductionLines

      public List<StatutoryDeductionLine> getStatutoryDeductionLines()
      Get statutoryDeductionLines
      Returns:
      statutoryDeductionLines
    • setStatutoryDeductionLines

      public void setStatutoryDeductionLines​(List<StatutoryDeductionLine> statutoryDeductionLines)
    • taxSettings

      public PaySlip taxSettings​(TaxSettings taxSettings)
    • getTaxSettings

      public TaxSettings getTaxSettings()
      Get taxSettings
      Returns:
      taxSettings
    • setTaxSettings

      public void setTaxSettings​(TaxSettings taxSettings)
    • grossEarningsHistory

      public PaySlip grossEarningsHistory​(GrossEarningsHistory grossEarningsHistory)
    • getGrossEarningsHistory

      public GrossEarningsHistory getGrossEarningsHistory()
      Get grossEarningsHistory
      Returns:
      grossEarningsHistory
    • setGrossEarningsHistory

      public void setGrossEarningsHistory​(GrossEarningsHistory grossEarningsHistory)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object