public class EarningsRate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EarningsRate.EarningsTypeEnum
Indicates how an employee will be paid when taking this type of earning
|
static class |
EarningsRate.RateTypeEnum
Indicates the type of the earning rate
|
| Constructor and Description |
|---|
EarningsRate() |
| Modifier and Type | Method and Description |
|---|---|
EarningsRate |
currentRecord(Boolean currentRecord) |
EarningsRate |
earningsRateID(UUID earningsRateID) |
EarningsRate |
earningsType(EarningsRate.EarningsTypeEnum earningsType) |
boolean |
equals(Object o) |
EarningsRate |
expenseAccountID(UUID expenseAccountID) |
EarningsRate |
fixedAmount(Double fixedAmount) |
Boolean |
getCurrentRecord()
Indicates whether an earning type is active
|
UUID |
getEarningsRateID()
Xero unique identifier for an earning rate
|
EarningsRate.EarningsTypeEnum |
getEarningsType()
Indicates how an employee will be paid when taking this type of earning
|
UUID |
getExpenseAccountID()
The account that will be used for the earnings rate
|
Double |
getFixedAmount()
Optional Fixed Rate Amount.
|
Double |
getMultipleOfOrdinaryEarningsRate()
This is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate.
|
String |
getName()
Name of the earning rate
|
Double |
getRatePerUnit()
Default rate per unit (optional).
|
EarningsRate.RateTypeEnum |
getRateType()
Indicates the type of the earning rate
|
String |
getTypeOfUnits()
The type of units used to record earnings
|
int |
hashCode() |
EarningsRate |
multipleOfOrdinaryEarningsRate(Double multipleOfOrdinaryEarningsRate) |
EarningsRate |
name(String name) |
EarningsRate |
ratePerUnit(Double ratePerUnit) |
EarningsRate |
rateType(EarningsRate.RateTypeEnum rateType) |
void |
setCurrentRecord(Boolean currentRecord) |
void |
setEarningsRateID(UUID earningsRateID) |
void |
setEarningsType(EarningsRate.EarningsTypeEnum earningsType) |
void |
setExpenseAccountID(UUID expenseAccountID) |
void |
setFixedAmount(Double fixedAmount) |
void |
setMultipleOfOrdinaryEarningsRate(Double multipleOfOrdinaryEarningsRate) |
void |
setName(String name) |
void |
setRatePerUnit(Double ratePerUnit) |
void |
setRateType(EarningsRate.RateTypeEnum rateType) |
void |
setTypeOfUnits(String typeOfUnits) |
String |
toString() |
EarningsRate |
typeOfUnits(String typeOfUnits) |
public EarningsRate earningsRateID(UUID earningsRateID)
public UUID getEarningsRateID()
public void setEarningsRateID(UUID earningsRateID)
public EarningsRate name(String name)
public String getName()
public void setName(String name)
public EarningsRate earningsType(EarningsRate.EarningsTypeEnum earningsType)
public EarningsRate.EarningsTypeEnum getEarningsType()
public void setEarningsType(EarningsRate.EarningsTypeEnum earningsType)
public EarningsRate rateType(EarningsRate.RateTypeEnum rateType)
public EarningsRate.RateTypeEnum getRateType()
public void setRateType(EarningsRate.RateTypeEnum rateType)
public EarningsRate typeOfUnits(String typeOfUnits)
public String getTypeOfUnits()
public void setTypeOfUnits(String typeOfUnits)
public EarningsRate currentRecord(Boolean currentRecord)
public Boolean getCurrentRecord()
public void setCurrentRecord(Boolean currentRecord)
public EarningsRate expenseAccountID(UUID expenseAccountID)
public UUID getExpenseAccountID()
public void setExpenseAccountID(UUID expenseAccountID)
public EarningsRate ratePerUnit(Double ratePerUnit)
public Double getRatePerUnit()
public void setRatePerUnit(Double ratePerUnit)
public EarningsRate multipleOfOrdinaryEarningsRate(Double multipleOfOrdinaryEarningsRate)
public Double getMultipleOfOrdinaryEarningsRate()
public void setMultipleOfOrdinaryEarningsRate(Double multipleOfOrdinaryEarningsRate)
public EarningsRate fixedAmount(Double fixedAmount)
public Double getFixedAmount()
public void setFixedAmount(Double fixedAmount)
Copyright © 2020. All rights reserved.