Class PayRun


  • public class PayRun
    extends Object
    PayRun
    • Constructor Detail

      • PayRun

        public PayRun()
    • 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
      • 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
      • 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
      • getPaySlips

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

        public void setPaySlips​(List<Payslip> paySlips)
        paySlips
        Parameters:
        paySlips - List<Payslip>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object