Class Employment

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

public class Employment
extends Object
Employment
  • Constructor Details

    • Employment

      public Employment()
  • Method Details

    • payrollCalendarID

      public Employment payrollCalendarID​(UUID payrollCalendarID)
    • getPayrollCalendarID

      public UUID getPayrollCalendarID()
      Xero unique identifier for the payroll calendar of the employee
      Returns:
      payrollCalendarID
    • setPayrollCalendarID

      public void setPayrollCalendarID​(UUID payrollCalendarID)
    • payRunCalendarID

      public Employment payRunCalendarID​(UUID payRunCalendarID)
    • getPayRunCalendarID

      public UUID getPayRunCalendarID()
      Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)
      Returns:
      payRunCalendarID
    • setPayRunCalendarID

      public void setPayRunCalendarID​(UUID payRunCalendarID)
    • startDate

      public Employment startDate​(org.threeten.bp.LocalDate startDate)
    • getStartDate

      public org.threeten.bp.LocalDate getStartDate()
      Start date of the employment (YYYY-MM-DD)
      Returns:
      startDate
    • setStartDate

      public void setStartDate​(org.threeten.bp.LocalDate startDate)
    • 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