Class PayrollCalendar


  • public class PayrollCalendar
    extends Object
    PayrollCalendar
    • Constructor Detail

      • PayrollCalendar

        public PayrollCalendar()
    • Method Detail

      • name

        public PayrollCalendar name​(String name)
        Name of the Payroll Calendar
        Parameters:
        name - String
        Returns:
        PayrollCalendar
      • getName

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

        public void setName​(String name)
        Name of the Payroll Calendar
        Parameters:
        name - String
      • calendarType

        public PayrollCalendar calendarType​(CalendarType calendarType)
        calendarType
        Parameters:
        calendarType - CalendarType
        Returns:
        PayrollCalendar
      • getCalendarType

        public CalendarType getCalendarType()
        Get calendarType
        Returns:
        calendarType
      • setCalendarType

        public void setCalendarType​(CalendarType calendarType)
        calendarType
        Parameters:
        calendarType - CalendarType
      • startDate

        public PayrollCalendar startDate​(String startDate)
        The start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
        Parameters:
        startDate - String
        Returns:
        PayrollCalendar
      • getStartDate

        public String getStartDate()
        The start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
        Returns:
        startDate
      • getStartDateAsDate

        public org.threeten.bp.LocalDate getStartDateAsDate()
        The start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
        Returns:
        LocalDate
      • setStartDate

        public void setStartDate​(String startDate)
        The start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
        Parameters:
        startDate - String
      • setStartDate

        public void setStartDate​(org.threeten.bp.LocalDate startDate)
        The start date of the upcoming pay period. The end date will be calculated based upon this date, and the calendar type selected (YYYY-MM-DD)
        Parameters:
        startDate - LocalDateTime
      • paymentDate

        public PayrollCalendar paymentDate​(String paymentDate)
        The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
        Parameters:
        paymentDate - String
        Returns:
        PayrollCalendar
      • getPaymentDate

        public String getPaymentDate()
        The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
        Returns:
        paymentDate
      • getPaymentDateAsDate

        public org.threeten.bp.LocalDate getPaymentDateAsDate()
        The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
        Returns:
        LocalDate
      • setPaymentDate

        public void setPaymentDate​(String paymentDate)
        The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
        Parameters:
        paymentDate - String
      • setPaymentDate

        public void setPaymentDate​(org.threeten.bp.LocalDate paymentDate)
        The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)
        Parameters:
        paymentDate - LocalDateTime
      • payrollCalendarID

        public PayrollCalendar payrollCalendarID​(UUID payrollCalendarID)
        Xero identifier
        Parameters:
        payrollCalendarID - UUID
        Returns:
        PayrollCalendar
      • getPayrollCalendarID

        public UUID getPayrollCalendarID()
        Xero identifier
        Returns:
        payrollCalendarID
      • setPayrollCalendarID

        public void setPayrollCalendarID​(UUID payrollCalendarID)
        Xero identifier
        Parameters:
        payrollCalendarID - UUID
      • getUpdatedDateUTC

        public String getUpdatedDateUTC()
        Last modified timestamp
        Returns:
        updatedDateUTC
      • getUpdatedDateUTCAsDate

        public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()
        Last modified timestamp
        Returns:
        OffsetDateTime
      • referenceDate

        public PayrollCalendar referenceDate​(String referenceDate)
        Reference Date (YYYY-MM-DD)
        Parameters:
        referenceDate - String
        Returns:
        PayrollCalendar
      • getReferenceDate

        public String getReferenceDate()
        Reference Date (YYYY-MM-DD)
        Returns:
        referenceDate
      • getReferenceDateAsDate

        public org.threeten.bp.LocalDate getReferenceDateAsDate()
        Reference Date (YYYY-MM-DD)
        Returns:
        LocalDate
      • setReferenceDate

        public void setReferenceDate​(String referenceDate)
        Reference Date (YYYY-MM-DD)
        Parameters:
        referenceDate - String
      • setReferenceDate

        public void setReferenceDate​(org.threeten.bp.LocalDate referenceDate)
        Reference Date (YYYY-MM-DD)
        Parameters:
        referenceDate - LocalDateTime
      • validationErrors

        public PayrollCalendar validationErrors​(List<ValidationError> validationErrors)
        Displays array of validation error messages from the API
        Parameters:
        validationErrors - List<ValidationError>
        Returns:
        PayrollCalendar
      • addValidationErrorsItem

        public PayrollCalendar addValidationErrorsItem​(ValidationError validationErrorsItem)
        Displays array of validation error messages from the API
        Parameters:
        validationErrorsItem - ValidationError
        Returns:
        PayrollCalendar
      • getValidationErrors

        public List<ValidationError> getValidationErrors()
        Displays array of validation error messages from the API
        Returns:
        validationErrors
      • setValidationErrors

        public void setValidationErrors​(List<ValidationError> validationErrors)
        Displays array of validation error messages from the API
        Parameters:
        validationErrors - List<ValidationError>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object