Package com.xero.models.payrollnz
Class PayRun
java.lang.Object
com.xero.models.payrollnz.PayRun
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPay run statusstatic enumPay run type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPaySlipsItem(PaySlip paySlipsItem) paySlipscalendarType(CalendarType calendarType) calendarTypebooleanGet calendarTypeorg.threeten.bp.LocalDatePayment date of the pay runXero unique identifier for the payroll calendarXero unique identifier for the pay runPay run statusPay run typeGet paySlipsorg.threeten.bp.LocalDatePeriod end date of the payroll calendarorg.threeten.bp.LocalDatePeriod start date of the payroll calendarorg.threeten.bp.LocalDatePosted date time of the pay runTotal cost of the pay runTotal pay of the pay runinthashCode()paymentDate(org.threeten.bp.LocalDate paymentDate) Payment date of the pay runpayrollCalendarID(UUID payrollCalendarID) Xero unique identifier for the payroll calendarXero unique identifier for the pay runpayRunStatus(PayRun.PayRunStatusEnum payRunStatus) Pay run statuspayRunType(PayRun.PayRunTypeEnum payRunType) Pay run typepaySlipsperiodEndDate(org.threeten.bp.LocalDate periodEndDate) Period end date of the payroll calendarperiodStartDate(org.threeten.bp.LocalDate periodStartDate) Period start date of the payroll calendarpostedDateTime(org.threeten.bp.LocalDate postedDateTime) Posted date time of the pay runvoidsetCalendarType(CalendarType calendarType) calendarTypevoidsetPaymentDate(org.threeten.bp.LocalDate paymentDate) Payment date of the pay runvoidsetPayrollCalendarID(UUID payrollCalendarID) Xero unique identifier for the payroll calendarvoidsetPayRunID(UUID payRunID) Xero unique identifier for the pay runvoidsetPayRunStatus(PayRun.PayRunStatusEnum payRunStatus) Pay run statusvoidsetPayRunType(PayRun.PayRunTypeEnum payRunType) Pay run typevoidsetPaySlips(List<PaySlip> paySlips) paySlipsvoidsetPeriodEndDate(org.threeten.bp.LocalDate periodEndDate) Period end date of the payroll calendarvoidsetPeriodStartDate(org.threeten.bp.LocalDate periodStartDate) Period start date of the payroll calendarvoidsetPostedDateTime(org.threeten.bp.LocalDate postedDateTime) Posted date time of the pay runvoidsetTotalCost(Double totalCost) Total cost of the pay runvoidsetTotalPay(Double totalPay) Total pay of the pay runtoString()Total cost of the pay runTotal pay of the pay run
-
Constructor Details
-
PayRun
public PayRun()
-
-
Method Details
-
payRunID
-
getPayRunID
-
setPayRunID
Xero unique identifier for the pay run- Parameters:
payRunID- UUID
-
payrollCalendarID
-
getPayrollCalendarID
Xero unique identifier for the payroll calendar- Returns:
- payrollCalendarID
-
setPayrollCalendarID
Xero unique identifier for the payroll calendar- Parameters:
payrollCalendarID- UUID
-
periodStartDate
Period start date of the payroll calendar- Parameters:
periodStartDate- LocalDate- Returns:
- PayRun
-
getPeriodStartDate
public org.threeten.bp.LocalDate getPeriodStartDate()Period start date of the payroll calendar- Returns:
- periodStartDate
-
setPeriodStartDate
public void setPeriodStartDate(org.threeten.bp.LocalDate periodStartDate) Period start date of the payroll calendar- Parameters:
periodStartDate- LocalDate
-
periodEndDate
Period end date of the payroll calendar- Parameters:
periodEndDate- LocalDate- Returns:
- PayRun
-
getPeriodEndDate
public org.threeten.bp.LocalDate getPeriodEndDate()Period end date of the payroll calendar- Returns:
- periodEndDate
-
setPeriodEndDate
public void setPeriodEndDate(org.threeten.bp.LocalDate periodEndDate) Period end date of the payroll calendar- Parameters:
periodEndDate- LocalDate
-
paymentDate
Payment date of the pay run- Parameters:
paymentDate- LocalDate- Returns:
- PayRun
-
getPaymentDate
public org.threeten.bp.LocalDate getPaymentDate()Payment date of the pay run- Returns:
- paymentDate
-
setPaymentDate
public void setPaymentDate(org.threeten.bp.LocalDate paymentDate) Payment date of the pay run- Parameters:
paymentDate- LocalDate
-
totalCost
-
getTotalCost
-
setTotalCost
-
totalPay
-
getTotalPay
-
setTotalPay
-
payRunStatus
Pay run status- Parameters:
payRunStatus- PayRunStatusEnum- Returns:
- PayRun
-
getPayRunStatus
-
setPayRunStatus
Pay run status- Parameters:
payRunStatus- PayRunStatusEnum
-
payRunType
Pay run type- Parameters:
payRunType- PayRunTypeEnum- Returns:
- PayRun
-
getPayRunType
-
setPayRunType
Pay run type- Parameters:
payRunType- PayRunTypeEnum
-
calendarType
calendarType- Parameters:
calendarType- CalendarType- Returns:
- PayRun
-
getCalendarType
-
setCalendarType
calendarType- Parameters:
calendarType- CalendarType
-
postedDateTime
Posted date time of the pay run- Parameters:
postedDateTime- LocalDate- Returns:
- PayRun
-
getPostedDateTime
public org.threeten.bp.LocalDate getPostedDateTime()Posted date time of the pay run- Returns:
- postedDateTime
-
setPostedDateTime
public void setPostedDateTime(org.threeten.bp.LocalDate postedDateTime) Posted date time of the pay run- Parameters:
postedDateTime- LocalDate
-
paySlips
-
addPaySlipsItem
-
getPaySlips
-
setPaySlips
-
equals
-
hashCode
-
toString
-