Package com.xero.models.payrollnz
Class SalaryAndWage
java.lang.Object
com.xero.models.payrollnz.SalaryAndWage
public class SalaryAndWage extends Object
SalaryAndWage
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSalaryAndWage.PaymentTypeEnumThe type of the payment of the corresponding salary and wagesstatic classSalaryAndWage.StatusEnumThe current status of the corresponding salary and wages -
Constructor Summary
Constructors Constructor Description SalaryAndWage() -
Method Summary
Modifier and Type Method Description SalaryAndWageannualSalary(Double annualSalary)SalaryAndWagedaysPerWeek(Integer daysPerWeek)SalaryAndWageearningsRateID(UUID earningsRateID)SalaryAndWageeffectiveFrom(org.threeten.bp.LocalDate effectiveFrom)booleanequals(Object o)DoublegetAnnualSalary()The annual salaryIntegergetDaysPerWeek()The days per week for the salary.UUIDgetEarningsRateID()Xero unique identifier for an earnings rateorg.threeten.bp.LocalDategetEffectiveFrom()The effective date of the corresponding salary and wagesDoublegetNumberOfUnitsPerDay()The Number of Units per day for the corresponding salary and wagesDoublegetNumberOfUnitsPerWeek()The Number of Units per week for the corresponding salary and wagesSalaryAndWage.PaymentTypeEnumgetPaymentType()The type of the payment of the corresponding salary and wagesDoublegetRatePerUnit()The rate of each unit for the corresponding salary and wagesUUIDgetSalaryAndWagesID()Xero unique identifier for a salary and wages recordSalaryAndWage.StatusEnumgetStatus()The current status of the corresponding salary and wagesinthashCode()SalaryAndWagenumberOfUnitsPerDay(Double numberOfUnitsPerDay)SalaryAndWagenumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)SalaryAndWagepaymentType(SalaryAndWage.PaymentTypeEnum paymentType)SalaryAndWageratePerUnit(Double ratePerUnit)SalaryAndWagesalaryAndWagesID(UUID salaryAndWagesID)voidsetAnnualSalary(Double annualSalary)voidsetDaysPerWeek(Integer daysPerWeek)voidsetEarningsRateID(UUID earningsRateID)voidsetEffectiveFrom(org.threeten.bp.LocalDate effectiveFrom)voidsetNumberOfUnitsPerDay(Double numberOfUnitsPerDay)voidsetNumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)voidsetPaymentType(SalaryAndWage.PaymentTypeEnum paymentType)voidsetRatePerUnit(Double ratePerUnit)voidsetSalaryAndWagesID(UUID salaryAndWagesID)voidsetStatus(SalaryAndWage.StatusEnum status)SalaryAndWagestatus(SalaryAndWage.StatusEnum status)StringtoString()
-
Constructor Details
-
SalaryAndWage
public SalaryAndWage()
-
-
Method Details
-
salaryAndWagesID
-
getSalaryAndWagesID
Xero unique identifier for a salary and wages record- Returns:
- salaryAndWagesID
-
setSalaryAndWagesID
-
earningsRateID
-
getEarningsRateID
Xero unique identifier for an earnings rate- Returns:
- earningsRateID
-
setEarningsRateID
-
numberOfUnitsPerWeek
-
getNumberOfUnitsPerWeek
The Number of Units per week for the corresponding salary and wages- Returns:
- numberOfUnitsPerWeek
-
setNumberOfUnitsPerWeek
-
ratePerUnit
-
getRatePerUnit
The rate of each unit for the corresponding salary and wages- Returns:
- ratePerUnit
-
setRatePerUnit
-
numberOfUnitsPerDay
-
getNumberOfUnitsPerDay
The Number of Units per day for the corresponding salary and wages- Returns:
- numberOfUnitsPerDay
-
setNumberOfUnitsPerDay
-
daysPerWeek
-
getDaysPerWeek
The days per week for the salary.- Returns:
- daysPerWeek
-
setDaysPerWeek
-
effectiveFrom
-
getEffectiveFrom
public org.threeten.bp.LocalDate getEffectiveFrom()The effective date of the corresponding salary and wages- Returns:
- effectiveFrom
-
setEffectiveFrom
public void setEffectiveFrom(org.threeten.bp.LocalDate effectiveFrom) -
annualSalary
-
getAnnualSalary
The annual salary- Returns:
- annualSalary
-
setAnnualSalary
-
status
-
getStatus
The current status of the corresponding salary and wages- Returns:
- status
-
setStatus
-
paymentType
-
getPaymentType
The type of the payment of the corresponding salary and wages- Returns:
- paymentType
-
setPaymentType
-
equals
-
hashCode
public int hashCode() -
toString
-