Class PayRunCalendar

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

public class PayRunCalendar
extends Object
PayRunCalendar
  • Constructor Details

    • PayRunCalendar

      public PayRunCalendar()
  • Method Details

    • payrollCalendarID

      public PayRunCalendar payrollCalendarID​(UUID payrollCalendarID)
    • getPayrollCalendarID

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

      public void setPayrollCalendarID​(UUID payrollCalendarID)
    • name

      public PayRunCalendar name​(String name)
    • getName

      public String getName()
      Name of the calendar
      Returns:
      name
    • setName

      public void setName​(String name)
    • calendarType

      public PayRunCalendar calendarType​(PayRunCalendar.CalendarTypeEnum calendarType)
    • getCalendarType

      public PayRunCalendar.CalendarTypeEnum getCalendarType()
      Type of the calendar
      Returns:
      calendarType
    • setCalendarType

      public void setCalendarType​(PayRunCalendar.CalendarTypeEnum calendarType)
    • periodStartDate

      public PayRunCalendar periodStartDate​(org.threeten.bp.LocalDate periodStartDate)
    • getPeriodStartDate

      public org.threeten.bp.LocalDate getPeriodStartDate()
      Period start date of the calendar
      Returns:
      periodStartDate
    • setPeriodStartDate

      public void setPeriodStartDate​(org.threeten.bp.LocalDate periodStartDate)
    • periodEndDate

      public PayRunCalendar periodEndDate​(org.threeten.bp.LocalDate periodEndDate)
    • getPeriodEndDate

      public org.threeten.bp.LocalDate getPeriodEndDate()
      Period end date of the calendar
      Returns:
      periodEndDate
    • setPeriodEndDate

      public void setPeriodEndDate​(org.threeten.bp.LocalDate periodEndDate)
    • paymentDate

      public PayRunCalendar paymentDate​(org.threeten.bp.LocalDate paymentDate)
    • getPaymentDate

      public org.threeten.bp.LocalDate getPaymentDate()
      Payment date of the calendar
      Returns:
      paymentDate
    • setPaymentDate

      public void setPaymentDate​(org.threeten.bp.LocalDate paymentDate)
    • updatedDateUTC

      public PayRunCalendar updatedDateUTC​(org.threeten.bp.LocalDateTime updatedDateUTC)
    • getUpdatedDateUTC

      public org.threeten.bp.LocalDateTime getUpdatedDateUTC()
      UTC timestamp of the last update to the pay run calendar
      Returns:
      updatedDateUTC
    • setUpdatedDateUTC

      public void setUpdatedDateUTC​(org.threeten.bp.LocalDateTime updatedDateUTC)
    • 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