Package com.xero.models.payrolluk
Class TimesheetEarningsLine
- java.lang.Object
-
- com.xero.models.payrolluk.TimesheetEarningsLine
-
public class TimesheetEarningsLine extends Object
TimesheetEarningsLine
-
-
Constructor Summary
Constructors Constructor Description TimesheetEarningsLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimesheetEarningsLineamount(Double amount)The amount of the timesheet earnings line.TimesheetEarningsLineearningsRateID(UUID earningsRateID)Xero identifier for payroll timesheet earnings ratebooleanequals(Object o)TimesheetEarningsLinefixedAmount(Double fixedAmount)Timesheet earnings fixed amount.DoublegetAmount()The amount of the timesheet earnings line.UUIDgetEarningsRateID()Xero identifier for payroll timesheet earnings rateDoublegetFixedAmount()Timesheet earnings fixed amount.BooleangetIsLinkedToTimesheet()Identifies if the timesheet earnings is taken from the timesheet.DoublegetNumberOfUnits()Timesheet earnings number of unitsDoublegetRatePerUnit()Rate per unit for timesheet earnings lineinthashCode()TimesheetEarningsLineisLinkedToTimesheet(Boolean isLinkedToTimesheet)Identifies if the timesheet earnings is taken from the timesheet.TimesheetEarningsLinenumberOfUnits(Double numberOfUnits)Timesheet earnings number of unitsTimesheetEarningsLineratePerUnit(Double ratePerUnit)Rate per unit for timesheet earnings linevoidsetAmount(Double amount)The amount of the timesheet earnings line.voidsetEarningsRateID(UUID earningsRateID)Xero identifier for payroll timesheet earnings ratevoidsetFixedAmount(Double fixedAmount)Timesheet earnings fixed amount.voidsetIsLinkedToTimesheet(Boolean isLinkedToTimesheet)Identifies if the timesheet earnings is taken from the timesheet.voidsetNumberOfUnits(Double numberOfUnits)Timesheet earnings number of unitsvoidsetRatePerUnit(Double ratePerUnit)Rate per unit for timesheet earnings lineStringtoString()
-
-
-
Method Detail
-
earningsRateID
public TimesheetEarningsLine earningsRateID(UUID earningsRateID)
Xero identifier for payroll timesheet earnings rate- Parameters:
earningsRateID- UUID- Returns:
- TimesheetEarningsLine
-
getEarningsRateID
public UUID getEarningsRateID()
Xero identifier for payroll timesheet earnings rate- Returns:
- earningsRateID
-
setEarningsRateID
public void setEarningsRateID(UUID earningsRateID)
Xero identifier for payroll timesheet earnings rate- Parameters:
earningsRateID- UUID
-
ratePerUnit
public TimesheetEarningsLine ratePerUnit(Double ratePerUnit)
Rate per unit for timesheet earnings line- Parameters:
ratePerUnit- Double- Returns:
- TimesheetEarningsLine
-
getRatePerUnit
public Double getRatePerUnit()
Rate per unit for timesheet earnings line- Returns:
- ratePerUnit
-
setRatePerUnit
public void setRatePerUnit(Double ratePerUnit)
Rate per unit for timesheet earnings line- Parameters:
ratePerUnit- Double
-
numberOfUnits
public TimesheetEarningsLine numberOfUnits(Double numberOfUnits)
Timesheet earnings number of units- Parameters:
numberOfUnits- Double- Returns:
- TimesheetEarningsLine
-
getNumberOfUnits
public Double getNumberOfUnits()
Timesheet earnings number of units- Returns:
- numberOfUnits
-
setNumberOfUnits
public void setNumberOfUnits(Double numberOfUnits)
Timesheet earnings number of units- Parameters:
numberOfUnits- Double
-
fixedAmount
public TimesheetEarningsLine fixedAmount(Double fixedAmount)
Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double- Returns:
- TimesheetEarningsLine
-
getFixedAmount
public Double getFixedAmount()
Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Returns:
- fixedAmount
-
setFixedAmount
public void setFixedAmount(Double fixedAmount)
Timesheet earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed- Parameters:
fixedAmount- Double
-
amount
public TimesheetEarningsLine amount(Double amount)
The amount of the timesheet earnings line.- Parameters:
amount- Double- Returns:
- TimesheetEarningsLine
-
getAmount
public Double getAmount()
The amount of the timesheet earnings line.- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
The amount of the timesheet earnings line.- Parameters:
amount- Double
-
isLinkedToTimesheet
public TimesheetEarningsLine isLinkedToTimesheet(Boolean isLinkedToTimesheet)
Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line- Parameters:
isLinkedToTimesheet- Boolean- Returns:
- TimesheetEarningsLine
-
getIsLinkedToTimesheet
public Boolean getIsLinkedToTimesheet()
Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line- Returns:
- isLinkedToTimesheet
-
setIsLinkedToTimesheet
public void setIsLinkedToTimesheet(Boolean isLinkedToTimesheet)
Identifies if the timesheet earnings is taken from the timesheet. False for leave earnings line- Parameters:
isLinkedToTimesheet- Boolean
-
-