Package com.xero.models.payrollau
Class PayRun
java.lang.Object
com.xero.models.payrollau.PayRun
public class PayRun extends Object
PayRun
-
Constructor Summary
Constructors Constructor Description PayRun() -
Method Summary
Modifier and Type Method Description PayRun_super(Double _super)PayRunaddPayslipsItem(PayslipSummary payslipsItem)PayRunaddValidationErrorsItem(ValidationError validationErrorsItem)PayRundeductions(Double deductions)booleanequals(Object o)DoublegetDeductions()The total Deductions for the PayrunDoublegetNetPay()The total NetPay for the PayrunStringgetPaymentDate()Payment Date for the PayRun (YYYY-MM-DD)org.threeten.bp.LocalDategetPaymentDateAsDate()UUIDgetPayrollCalendarID()Xero identifier for pay runUUIDgetPayRunID()Xero identifier for pay runStringgetPayRunPeriodEndDate()Period End Date for the PayRun (YYYY-MM-DD)org.threeten.bp.LocalDategetPayRunPeriodEndDateAsDate()StringgetPayRunPeriodStartDate()Period Start Date for the PayRun (YYYY-MM-DD)org.threeten.bp.LocalDategetPayRunPeriodStartDateAsDate()PayRunStatusgetPayRunStatus()Get payRunStatusStringgetPayslipMessage()Payslip message for the PayRunList<PayslipSummary>getPayslips()The payslips in the payrunDoublegetReimbursement()The total Reimbursements for the PayrunDoublegetSuper()The total Super for the PayrunDoublegetTax()The total Tax for the PayrunStringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()List<ValidationError>getValidationErrors()Displays array of validation error messages from the APIDoublegetWages()The total Wages for the PayruninthashCode()PayRunnetPay(Double netPay)PayRunpaymentDate(String paymentDate)PayRunpayrollCalendarID(UUID payrollCalendarID)PayRunpayRunID(UUID payRunID)PayRunpayRunPeriodEndDate(String payRunPeriodEndDate)PayRunpayRunPeriodStartDate(String payRunPeriodStartDate)PayRunpayRunStatus(PayRunStatus payRunStatus)PayRunpayslipMessage(String payslipMessage)PayRunpayslips(List<PayslipSummary> payslips)PayRunreimbursement(Double reimbursement)voidsetDeductions(Double deductions)voidsetNetPay(Double netPay)voidsetPaymentDate(String paymentDate)voidsetPaymentDate(org.threeten.bp.LocalDate paymentDate)voidsetPayrollCalendarID(UUID payrollCalendarID)voidsetPayRunID(UUID payRunID)voidsetPayRunPeriodEndDate(String payRunPeriodEndDate)voidsetPayRunPeriodEndDate(org.threeten.bp.LocalDate payRunPeriodEndDate)voidsetPayRunPeriodStartDate(String payRunPeriodStartDate)voidsetPayRunPeriodStartDate(org.threeten.bp.LocalDate payRunPeriodStartDate)voidsetPayRunStatus(PayRunStatus payRunStatus)voidsetPayslipMessage(String payslipMessage)voidsetPayslips(List<PayslipSummary> payslips)voidsetReimbursement(Double reimbursement)voidsetSuper(Double _super)voidsetTax(Double tax)voidsetValidationErrors(List<ValidationError> validationErrors)voidsetWages(Double wages)PayRuntax(Double tax)StringtoString()PayRunvalidationErrors(List<ValidationError> validationErrors)PayRunwages(Double wages)
-
Constructor Details
-
PayRun
public PayRun()
-
-
Method Details
-
payrollCalendarID
-
getPayrollCalendarID
Xero identifier for pay run- Returns:
- payrollCalendarID
-
setPayrollCalendarID
-
payRunID
-
getPayRunID
Xero identifier for pay run- Returns:
- payRunID
-
setPayRunID
-
payRunPeriodStartDate
-
getPayRunPeriodStartDate
Period Start Date for the PayRun (YYYY-MM-DD)- Returns:
- payRunPeriodStartDate
-
getPayRunPeriodStartDateAsDate
public org.threeten.bp.LocalDate getPayRunPeriodStartDateAsDate() -
setPayRunPeriodStartDate
-
setPayRunPeriodStartDate
public void setPayRunPeriodStartDate(org.threeten.bp.LocalDate payRunPeriodStartDate) -
payRunPeriodEndDate
-
getPayRunPeriodEndDate
Period End Date for the PayRun (YYYY-MM-DD)- Returns:
- payRunPeriodEndDate
-
getPayRunPeriodEndDateAsDate
public org.threeten.bp.LocalDate getPayRunPeriodEndDateAsDate() -
setPayRunPeriodEndDate
-
setPayRunPeriodEndDate
public void setPayRunPeriodEndDate(org.threeten.bp.LocalDate payRunPeriodEndDate) -
payRunStatus
-
getPayRunStatus
Get payRunStatus- Returns:
- payRunStatus
-
setPayRunStatus
-
paymentDate
-
getPaymentDate
Payment Date for the PayRun (YYYY-MM-DD)- Returns:
- paymentDate
-
getPaymentDateAsDate
public org.threeten.bp.LocalDate getPaymentDateAsDate() -
setPaymentDate
-
setPaymentDate
public void setPaymentDate(org.threeten.bp.LocalDate paymentDate) -
payslipMessage
-
getPayslipMessage
Payslip message for the PayRun- Returns:
- payslipMessage
-
setPayslipMessage
-
getUpdatedDateUTC
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
payslips
-
addPayslipsItem
-
getPayslips
The payslips in the payrun- Returns:
- payslips
-
setPayslips
-
wages
-
getWages
The total Wages for the Payrun- Returns:
- wages
-
setWages
-
deductions
-
getDeductions
The total Deductions for the Payrun- Returns:
- deductions
-
setDeductions
-
tax
-
getTax
The total Tax for the Payrun- Returns:
- tax
-
setTax
-
_super
-
getSuper
The total Super for the Payrun- Returns:
- _super
-
setSuper
-
reimbursement
-
getReimbursement
The total Reimbursements for the Payrun- Returns:
- reimbursement
-
setReimbursement
-
netPay
-
getNetPay
The total NetPay for the Payrun- Returns:
- netPay
-
setNetPay
-
validationErrors
-
addValidationErrorsItem
-
getValidationErrors
Displays array of validation error messages from the API- Returns:
- validationErrors
-
setValidationErrors
-
equals
-
hashCode
public int hashCode() -
toString
-