Package com.xero.models.payrolluk
Class PayRun
- java.lang.Object
-
- com.xero.models.payrolluk.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PayRunaddPaySlipsItem(Payslip paySlipsItem)paySlipsPayRuncalendarType(PayRun.CalendarTypeEnum calendarType)Calendar type of the pay runbooleanequals(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)Payment date of the pay runPayRunpayrollCalendarID(UUID payrollCalendarID)Xero unique identifier for the payroll calendarPayRunpayRunID(UUID payRunID)Xero unique identifier for the pay runPayRunpayRunStatus(PayRun.PayRunStatusEnum payRunStatus)Pay run statusPayRunpayRunType(PayRun.PayRunTypeEnum payRunType)Pay run typePayRunpaySlips(List<Payslip> paySlips)paySlipsPayRunperiodEndDate(org.threeten.bp.LocalDate periodEndDate)Period end date of the payroll calendarPayRunperiodStartDate(org.threeten.bp.LocalDate periodStartDate)Period start date of the payroll calendarPayRunpostedDateTime(org.threeten.bp.LocalDate postedDateTime)Posted date time of the pay runvoidsetCalendarType(PayRun.CalendarTypeEnum calendarType)Calendar type of the pay runvoidsetPaymentDate(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 runStringtoString()PayRuntotalCost(Double totalCost)Total cost of the pay runPayRuntotalPay(Double totalPay)Total pay of the pay run
-
-
-
Method Detail
-
payRunID
public PayRun payRunID(UUID payRunID)
Xero unique identifier for the pay run- Parameters:
payRunID- UUID- Returns:
- PayRun
-
getPayRunID
public UUID getPayRunID()
Xero unique identifier for the pay run- Returns:
- payRunID
-
setPayRunID
public void setPayRunID(UUID payRunID)
Xero unique identifier for the pay run- Parameters:
payRunID- UUID
-
payrollCalendarID
public PayRun payrollCalendarID(UUID payrollCalendarID)
Xero unique identifier for the payroll calendar- Parameters:
payrollCalendarID- UUID- Returns:
- PayRun
-
getPayrollCalendarID
public UUID getPayrollCalendarID()
Xero unique identifier for the payroll calendar- Returns:
- payrollCalendarID
-
setPayrollCalendarID
public void setPayrollCalendarID(UUID payrollCalendarID)
Xero unique identifier for the payroll calendar- Parameters:
payrollCalendarID- UUID
-
periodStartDate
public PayRun periodStartDate(org.threeten.bp.LocalDate 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
public PayRun periodEndDate(org.threeten.bp.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
public PayRun paymentDate(org.threeten.bp.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
public PayRun totalCost(Double totalCost)
Total cost of the pay run- Parameters:
totalCost- Double- Returns:
- PayRun
-
getTotalCost
public Double getTotalCost()
Total cost of the pay run- Returns:
- totalCost
-
setTotalCost
public void setTotalCost(Double totalCost)
Total cost of the pay run- Parameters:
totalCost- Double
-
totalPay
public PayRun totalPay(Double totalPay)
Total pay of the pay run- Parameters:
totalPay- Double- Returns:
- PayRun
-
getTotalPay
public Double getTotalPay()
Total pay of the pay run- Returns:
- totalPay
-
setTotalPay
public void setTotalPay(Double totalPay)
Total pay of the pay run- Parameters:
totalPay- Double
-
payRunStatus
public PayRun payRunStatus(PayRun.PayRunStatusEnum payRunStatus)
Pay run status- Parameters:
payRunStatus- PayRunStatusEnum- Returns:
- PayRun
-
getPayRunStatus
public PayRun.PayRunStatusEnum getPayRunStatus()
Pay run status- Returns:
- payRunStatus
-
setPayRunStatus
public void setPayRunStatus(PayRun.PayRunStatusEnum payRunStatus)
Pay run status- Parameters:
payRunStatus- PayRunStatusEnum
-
payRunType
public PayRun payRunType(PayRun.PayRunTypeEnum payRunType)
Pay run type- Parameters:
payRunType- PayRunTypeEnum- Returns:
- PayRun
-
getPayRunType
public PayRun.PayRunTypeEnum getPayRunType()
Pay run type- Returns:
- payRunType
-
setPayRunType
public void setPayRunType(PayRun.PayRunTypeEnum payRunType)
Pay run type- Parameters:
payRunType- PayRunTypeEnum
-
calendarType
public PayRun calendarType(PayRun.CalendarTypeEnum calendarType)
Calendar type of the pay run- Parameters:
calendarType- CalendarTypeEnum- Returns:
- PayRun
-
getCalendarType
public PayRun.CalendarTypeEnum getCalendarType()
Calendar type of the pay run- Returns:
- calendarType
-
setCalendarType
public void setCalendarType(PayRun.CalendarTypeEnum calendarType)
Calendar type of the pay run- Parameters:
calendarType- CalendarTypeEnum
-
postedDateTime
public PayRun postedDateTime(org.threeten.bp.LocalDate 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
public PayRun paySlips(List<Payslip> paySlips)
paySlips- Parameters:
paySlips- List<Payslip>- Returns:
- PayRun
-
addPaySlipsItem
public PayRun addPaySlipsItem(Payslip paySlipsItem)
paySlips- Parameters:
paySlipsItem- Payslip- Returns:
- PayRun
-
setPaySlips
public void setPaySlips(List<Payslip> paySlips)
paySlips- Parameters:
paySlips- List<Payslip>
-
-