Package com.xero.models.payrollnz
Class PayRun
java.lang.Object
com.xero.models.payrollnz.PayRun
public class PayRun extends Object
PayRun
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayRun.CalendarTypeEnumCalendar type of the pay runstatic classPayRun.PayRunStatusEnumPay run statusstatic classPayRun.PayRunTypeEnumPay run type -
Constructor Summary
Constructors Constructor Description PayRun() -
Method Summary
Modifier and Type Method Description PayRunaddPaySlipsItem(PaySlip paySlipsItem)PayRuncalendarType(PayRun.CalendarTypeEnum calendarType)booleanequals(Object o)PayRun.CalendarTypeEnumgetCalendarType()Calendar type of the pay runorg.threeten.bp.LocalDategetPaymentDate()Payment date of the pay runUUIDgetPayrollCalendarID()Xero unique identifier for the payroll calendarUUIDgetPayRunID()Xero unique identifier for the pay runPayRun.PayRunStatusEnumgetPayRunStatus()Pay run statusPayRun.PayRunTypeEnumgetPayRunType()Pay run typeList<PaySlip>getPaySlips()Get paySlipsorg.threeten.bp.LocalDategetPeriodEndDate()Period end date of the payroll calendarorg.threeten.bp.LocalDategetPeriodStartDate()Period start date of the payroll calendarorg.threeten.bp.LocalDategetPostedDateTime()Posted date time of the pay runDoublegetTotalCost()Total cost of the pay runDoublegetTotalPay()Total pay of the pay runinthashCode()PayRunpaymentDate(org.threeten.bp.LocalDate paymentDate)PayRunpayrollCalendarID(UUID payrollCalendarID)PayRunpayRunID(UUID payRunID)PayRunpayRunStatus(PayRun.PayRunStatusEnum payRunStatus)PayRunpayRunType(PayRun.PayRunTypeEnum payRunType)PayRunpaySlips(List<PaySlip> paySlips)PayRunperiodEndDate(org.threeten.bp.LocalDate periodEndDate)PayRunperiodStartDate(org.threeten.bp.LocalDate periodStartDate)PayRunpostedDateTime(org.threeten.bp.LocalDate postedDateTime)voidsetCalendarType(PayRun.CalendarTypeEnum calendarType)voidsetPaymentDate(org.threeten.bp.LocalDate paymentDate)voidsetPayrollCalendarID(UUID payrollCalendarID)voidsetPayRunID(UUID payRunID)voidsetPayRunStatus(PayRun.PayRunStatusEnum payRunStatus)voidsetPayRunType(PayRun.PayRunTypeEnum payRunType)voidsetPaySlips(List<PaySlip> paySlips)voidsetPeriodEndDate(org.threeten.bp.LocalDate periodEndDate)voidsetPeriodStartDate(org.threeten.bp.LocalDate periodStartDate)voidsetPostedDateTime(org.threeten.bp.LocalDate postedDateTime)voidsetTotalCost(Double totalCost)voidsetTotalPay(Double totalPay)StringtoString()PayRuntotalCost(Double totalCost)PayRuntotalPay(Double totalPay)
-
Constructor Details
-
PayRun
public PayRun()
-
-
Method Details
-
payRunID
-
getPayRunID
Xero unique identifier for the pay run- Returns:
- payRunID
-
setPayRunID
-
payrollCalendarID
-
getPayrollCalendarID
Xero unique identifier for the payroll calendar- Returns:
- payrollCalendarID
-
setPayrollCalendarID
-
periodStartDate
-
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) -
periodEndDate
-
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) -
paymentDate
-
getPaymentDate
public org.threeten.bp.LocalDate getPaymentDate()Payment date of the pay run- Returns:
- paymentDate
-
setPaymentDate
public void setPaymentDate(org.threeten.bp.LocalDate paymentDate) -
totalCost
-
getTotalCost
Total cost of the pay run- Returns:
- totalCost
-
setTotalCost
-
totalPay
-
getTotalPay
Total pay of the pay run- Returns:
- totalPay
-
setTotalPay
-
payRunStatus
-
getPayRunStatus
Pay run status- Returns:
- payRunStatus
-
setPayRunStatus
-
payRunType
-
getPayRunType
Pay run type- Returns:
- payRunType
-
setPayRunType
-
calendarType
-
getCalendarType
Calendar type of the pay run- Returns:
- calendarType
-
setCalendarType
-
postedDateTime
-
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) -
paySlips
-
addPaySlipsItem
-
getPaySlips
Get paySlips- Returns:
- paySlips
-
setPaySlips
-
equals
-
hashCode
public int hashCode() -
toString
-