Package com.xero.models.payrollau
Class PayrollCalendar
java.lang.Object
com.xero.models.payrollau.PayrollCalendar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValidationErrorsItem(ValidationError validationErrorsItem) Displays array of validation error messages from the APIcalendarType(CalendarType calendarType) calendarTypebooleanGet calendarTypegetName()Name of the Payroll CalendarThe date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)org.threeten.bp.LocalDateThe date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)Xero identifierReference Date (YYYY-MM-DD)org.threeten.bp.LocalDateReference Date (YYYY-MM-DD)The start date of the upcoming pay period.org.threeten.bp.LocalDateThe start date of the upcoming pay period.Last modified timestamporg.threeten.bp.OffsetDateTimeLast modified timestampDisplays array of validation error messages from the APIinthashCode()Name of the Payroll CalendarpaymentDate(String paymentDate) The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)payrollCalendarID(UUID payrollCalendarID) Xero identifierreferenceDate(String referenceDate) Reference Date (YYYY-MM-DD)voidsetCalendarType(CalendarType calendarType) calendarTypevoidName of the Payroll CalendarvoidsetPaymentDate(String paymentDate) The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)voidsetPaymentDate(org.threeten.bp.LocalDate paymentDate) The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)voidsetPayrollCalendarID(UUID payrollCalendarID) Xero identifiervoidsetReferenceDate(String referenceDate) Reference Date (YYYY-MM-DD)voidsetReferenceDate(org.threeten.bp.LocalDate referenceDate) Reference Date (YYYY-MM-DD)voidsetStartDate(String startDate) The start date of the upcoming pay period.voidsetStartDate(org.threeten.bp.LocalDate startDate) The start date of the upcoming pay period.voidsetValidationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the APIThe start date of the upcoming pay period.toString()validationErrors(List<ValidationError> validationErrors) Displays array of validation error messages from the API
-
Constructor Details
-
PayrollCalendar
public PayrollCalendar()
-
-
Method Details
-
name
Name of the Payroll Calendar- Parameters:
name- String- Returns:
- PayrollCalendar
-
getName
-
setName
-
calendarType
calendarType- Parameters:
calendarType- CalendarType- Returns:
- PayrollCalendar
-
getCalendarType
-
setCalendarType
calendarType- Parameters:
calendarType- CalendarType
-
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
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
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
The date on which employees will be paid for the upcoming pay period (YYYY-MM-DD)- Parameters:
paymentDate- String- Returns:
- PayrollCalendar
-
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
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
Xero identifier- Parameters:
payrollCalendarID- UUID- Returns:
- PayrollCalendar
-
getPayrollCalendarID
-
setPayrollCalendarID
Xero identifier- Parameters:
payrollCalendarID- UUID
-
getUpdatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()Last modified timestamp- Returns:
- OffsetDateTime
-
referenceDate
Reference Date (YYYY-MM-DD)- Parameters:
referenceDate- String- Returns:
- PayrollCalendar
-
getReferenceDate
-
getReferenceDateAsDate
public org.threeten.bp.LocalDate getReferenceDateAsDate()Reference Date (YYYY-MM-DD)- Returns:
- LocalDate
-
setReferenceDate
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
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>- Returns:
- PayrollCalendar
-
addValidationErrorsItem
Displays array of validation error messages from the API- Parameters:
validationErrorsItem- ValidationError- Returns:
- PayrollCalendar
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
Displays array of validation error messages from the API- Parameters:
validationErrors- List<ValidationError>
-
equals
-
hashCode
-
toString
-