Class PayRun

java.lang.Object
com.xero.models.payrolluk.PayRun

public class PayRun
extends Object
PayRun
  • Constructor Details

    • PayRun

      public PayRun()
  • Method Details

    • payRunID

      public PayRun payRunID​(UUID payRunID)
    • getPayRunID

      public UUID getPayRunID()
      Xero unique identifier for the pay run
      Returns:
      payRunID
    • setPayRunID

      public void setPayRunID​(UUID payRunID)
    • payrollCalendarID

      public PayRun payrollCalendarID​(UUID payrollCalendarID)
    • getPayrollCalendarID

      public UUID getPayrollCalendarID()
      Xero unique identifier for the payroll calendar
      Returns:
      payrollCalendarID
    • setPayrollCalendarID

      public void setPayrollCalendarID​(UUID payrollCalendarID)
    • periodStartDate

      public PayRun periodStartDate​(org.threeten.bp.LocalDate 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

      public PayRun periodEndDate​(org.threeten.bp.LocalDate 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

      public PayRun paymentDate​(org.threeten.bp.LocalDate 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

      public PayRun totalCost​(Double totalCost)
    • getTotalCost

      public Double getTotalCost()
      Total cost of the pay run
      Returns:
      totalCost
    • setTotalCost

      public void setTotalCost​(Double totalCost)
    • totalPay

      public PayRun totalPay​(Double totalPay)
    • getTotalPay

      public Double getTotalPay()
      Total pay of the pay run
      Returns:
      totalPay
    • setTotalPay

      public void setTotalPay​(Double totalPay)
    • payRunStatus

      public PayRun payRunStatus​(PayRun.PayRunStatusEnum payRunStatus)
    • getPayRunStatus

      public PayRun.PayRunStatusEnum getPayRunStatus()
      Pay run status
      Returns:
      payRunStatus
    • setPayRunStatus

      public void setPayRunStatus​(PayRun.PayRunStatusEnum payRunStatus)
    • payRunType

      public PayRun payRunType​(PayRun.PayRunTypeEnum payRunType)
    • getPayRunType

      public PayRun.PayRunTypeEnum getPayRunType()
      Pay run type
      Returns:
      payRunType
    • setPayRunType

      public void setPayRunType​(PayRun.PayRunTypeEnum payRunType)
    • calendarType

      public PayRun calendarType​(PayRun.CalendarTypeEnum calendarType)
    • getCalendarType

      public PayRun.CalendarTypeEnum getCalendarType()
      Calendar type of the pay run
      Returns:
      calendarType
    • setCalendarType

      public void setCalendarType​(PayRun.CalendarTypeEnum calendarType)
    • postedDateTime

      public PayRun postedDateTime​(org.threeten.bp.LocalDate 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

      public PayRun paySlips​(List<Payslip> paySlips)
    • addPaySlipsItem

      public PayRun addPaySlipsItem​(Payslip paySlipsItem)
    • getPaySlips

      public List<Payslip> getPaySlips()
      Get paySlips
      Returns:
      paySlips
    • setPaySlips

      public void setPaySlips​(List<Payslip> paySlips)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object