Package com.xero.models.payrollau
Class EarningsRate
java.lang.Object
com.xero.models.payrollau.EarningsRate
public class EarningsRate extends Object
EarningsRate
-
Constructor Summary
Constructors Constructor Description EarningsRate() -
Method Summary
Modifier and Type Method Description EarningsRateaccountCode(String accountCode)EarningsRateaccrueLeave(Boolean accrueLeave)EarningsRateallowanceType(AllowanceType allowanceType)EarningsRateamount(Double amount)EarningsRatecurrentRecord(Boolean currentRecord)EarningsRateearningsRateID(UUID earningsRateID)EarningsRateearningsType(EarningsType earningsType)EarningsRateemploymentTerminationPaymentType(EmploymentTerminationPaymentType employmentTerminationPaymentType)booleanequals(Object o)StringgetAccountCode()See AccountsBooleangetAccrueLeave()Indicates that this earnings rate should accrue leave.AllowanceTypegetAllowanceType()Get allowanceTypeDoublegetAmount()Optional Amount for FIXEDAMOUNT RateType EarningsRateBooleangetCurrentRecord()Is the current recordUUIDgetEarningsRateID()Xero identifierEarningsTypegetEarningsType()Get earningsTypeEmploymentTerminationPaymentTypegetEmploymentTerminationPaymentType()Get employmentTerminationPaymentTypeBooleangetIsExemptFromSuper()See the ATO website for details of which payments are exempt from SGCBooleangetIsExemptFromTax()Most payments are subject to tax, so you should only set this value if you are sure that a payment is exempt from PAYG withholdingBooleangetIsReportableAsW1()Boolean to determine if the earnings rate is reportable or exempt from W1DoublegetMultiplier()This is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate.StringgetName()Name of the earnings rate (max length = 100)StringgetRatePerUnit()Default rate per unit (optional).RateTypegetRateType()Get rateTypeStringgetTypeOfUnits()Type of units used to record earnings (max length = 50).StringgetUpdatedDateUTC()Last modified timestamporg.threeten.bp.OffsetDateTimegetUpdatedDateUTCAsDate()inthashCode()EarningsRateisExemptFromSuper(Boolean isExemptFromSuper)EarningsRateisExemptFromTax(Boolean isExemptFromTax)EarningsRateisReportableAsW1(Boolean isReportableAsW1)EarningsRatemultiplier(Double multiplier)EarningsRatename(String name)EarningsRateratePerUnit(String ratePerUnit)EarningsRaterateType(RateType rateType)voidsetAccountCode(String accountCode)voidsetAccrueLeave(Boolean accrueLeave)voidsetAllowanceType(AllowanceType allowanceType)voidsetAmount(Double amount)voidsetCurrentRecord(Boolean currentRecord)voidsetEarningsRateID(UUID earningsRateID)voidsetEarningsType(EarningsType earningsType)voidsetEmploymentTerminationPaymentType(EmploymentTerminationPaymentType employmentTerminationPaymentType)voidsetIsExemptFromSuper(Boolean isExemptFromSuper)voidsetIsExemptFromTax(Boolean isExemptFromTax)voidsetIsReportableAsW1(Boolean isReportableAsW1)voidsetMultiplier(Double multiplier)voidsetName(String name)voidsetRatePerUnit(String ratePerUnit)voidsetRateType(RateType rateType)voidsetTypeOfUnits(String typeOfUnits)StringtoString()EarningsRatetypeOfUnits(String typeOfUnits)
-
Constructor Details
-
EarningsRate
public EarningsRate()
-
-
Method Details
-
name
-
getName
Name of the earnings rate (max length = 100)- Returns:
- name
-
setName
-
accountCode
-
getAccountCode
See Accounts- Returns:
- accountCode
-
setAccountCode
-
typeOfUnits
-
getTypeOfUnits
Type of units used to record earnings (max length = 50). Only When RateType is RATEPERUNIT- Returns:
- typeOfUnits
-
setTypeOfUnits
-
isExemptFromTax
-
getIsExemptFromTax
Most payments are subject to tax, so you should only set this value if you are sure that a payment is exempt from PAYG withholding- Returns:
- isExemptFromTax
-
setIsExemptFromTax
-
isExemptFromSuper
-
getIsExemptFromSuper
See the ATO website for details of which payments are exempt from SGC- Returns:
- isExemptFromSuper
-
setIsExemptFromSuper
-
isReportableAsW1
-
getIsReportableAsW1
Boolean to determine if the earnings rate is reportable or exempt from W1- Returns:
- isReportableAsW1
-
setIsReportableAsW1
-
earningsType
-
getEarningsType
Get earningsType- Returns:
- earningsType
-
setEarningsType
-
earningsRateID
-
getEarningsRateID
Xero identifier- Returns:
- earningsRateID
-
setEarningsRateID
-
rateType
-
getRateType
Get rateType- Returns:
- rateType
-
setRateType
-
ratePerUnit
-
getRatePerUnit
Default rate per unit (optional). Only applicable if RateType is RATEPERUNIT.- Returns:
- ratePerUnit
-
setRatePerUnit
-
multiplier
-
getMultiplier
This is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate. For example, for time and a half enter 1.5. Only applicable if RateType is MULTIPLE- Returns:
- multiplier
-
setMultiplier
-
accrueLeave
-
getAccrueLeave
Indicates that this earnings rate should accrue leave. Only applicable if RateType is MULTIPLE- Returns:
- accrueLeave
-
setAccrueLeave
-
amount
-
getAmount
Optional Amount for FIXEDAMOUNT RateType EarningsRate- Returns:
- amount
-
setAmount
-
employmentTerminationPaymentType
public EarningsRate employmentTerminationPaymentType(EmploymentTerminationPaymentType employmentTerminationPaymentType) -
getEmploymentTerminationPaymentType
Get employmentTerminationPaymentType- Returns:
- employmentTerminationPaymentType
-
setEmploymentTerminationPaymentType
public void setEmploymentTerminationPaymentType(EmploymentTerminationPaymentType employmentTerminationPaymentType) -
getUpdatedDateUTC
Last modified timestamp- Returns:
- updatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate() -
currentRecord
-
getCurrentRecord
Is the current record- Returns:
- currentRecord
-
setCurrentRecord
-
allowanceType
-
getAllowanceType
Get allowanceType- Returns:
- allowanceType
-
setAllowanceType
-
equals
-
hashCode
public int hashCode() -
toString
-