Package com.xero.models.payrolluk
Class SalaryAndWage
- java.lang.Object
-
- com.xero.models.payrolluk.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SalaryAndWageannualSalary(Double annualSalary)The annual salarySalaryAndWageearningsRateID(UUID earningsRateID)Xero unique identifier for an earnings rateSalaryAndWageeffectiveFrom(org.threeten.bp.LocalDate effectiveFrom)The effective date of the corresponding salary and wagesbooleanequals(Object o)DoublegetAnnualSalary()The annual salaryUUIDgetEarningsRateID()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)The Number of Units per day for the corresponding salary and wagesSalaryAndWagenumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)The Number of Units per week for the corresponding salary and wagesSalaryAndWagepaymentType(SalaryAndWage.PaymentTypeEnum paymentType)The type of the payment of the corresponding salary and wagesSalaryAndWageratePerUnit(Double ratePerUnit)The rate of each unit for the corresponding salary and wagesSalaryAndWagesalaryAndWagesID(UUID salaryAndWagesID)Xero unique identifier for a salary and wages recordvoidsetAnnualSalary(Double annualSalary)The annual salaryvoidsetEarningsRateID(UUID earningsRateID)Xero unique identifier for an earnings ratevoidsetEffectiveFrom(org.threeten.bp.LocalDate effectiveFrom)The effective date of the corresponding salary and wagesvoidsetNumberOfUnitsPerDay(Double numberOfUnitsPerDay)The Number of Units per day for the corresponding salary and wagesvoidsetNumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)The Number of Units per week for the corresponding salary and wagesvoidsetPaymentType(SalaryAndWage.PaymentTypeEnum paymentType)The type of the payment of the corresponding salary and wagesvoidsetRatePerUnit(Double ratePerUnit)The rate of each unit for the corresponding salary and wagesvoidsetSalaryAndWagesID(UUID salaryAndWagesID)Xero unique identifier for a salary and wages recordvoidsetStatus(SalaryAndWage.StatusEnum status)The current status of the corresponding salary and wagesSalaryAndWagestatus(SalaryAndWage.StatusEnum status)The current status of the corresponding salary and wagesStringtoString()
-
-
-
Method Detail
-
salaryAndWagesID
public SalaryAndWage salaryAndWagesID(UUID salaryAndWagesID)
Xero unique identifier for a salary and wages record- Parameters:
salaryAndWagesID- UUID- Returns:
- SalaryAndWage
-
getSalaryAndWagesID
public UUID getSalaryAndWagesID()
Xero unique identifier for a salary and wages record- Returns:
- salaryAndWagesID
-
setSalaryAndWagesID
public void setSalaryAndWagesID(UUID salaryAndWagesID)
Xero unique identifier for a salary and wages record- Parameters:
salaryAndWagesID- UUID
-
earningsRateID
public SalaryAndWage earningsRateID(UUID earningsRateID)
Xero unique identifier for an earnings rate- Parameters:
earningsRateID- UUID- Returns:
- SalaryAndWage
-
getEarningsRateID
public UUID getEarningsRateID()
Xero unique identifier for an earnings rate- Returns:
- earningsRateID
-
setEarningsRateID
public void setEarningsRateID(UUID earningsRateID)
Xero unique identifier for an earnings rate- Parameters:
earningsRateID- UUID
-
numberOfUnitsPerWeek
public SalaryAndWage numberOfUnitsPerWeek(Double numberOfUnitsPerWeek)
The Number of Units per week for the corresponding salary and wages- Parameters:
numberOfUnitsPerWeek- Double- Returns:
- SalaryAndWage
-
getNumberOfUnitsPerWeek
public Double getNumberOfUnitsPerWeek()
The Number of Units per week for the corresponding salary and wages- Returns:
- numberOfUnitsPerWeek
-
setNumberOfUnitsPerWeek
public void setNumberOfUnitsPerWeek(Double numberOfUnitsPerWeek)
The Number of Units per week for the corresponding salary and wages- Parameters:
numberOfUnitsPerWeek- Double
-
ratePerUnit
public SalaryAndWage ratePerUnit(Double ratePerUnit)
The rate of each unit for the corresponding salary and wages- Parameters:
ratePerUnit- Double- Returns:
- SalaryAndWage
-
getRatePerUnit
public Double getRatePerUnit()
The rate of each unit for the corresponding salary and wages- Returns:
- ratePerUnit
-
setRatePerUnit
public void setRatePerUnit(Double ratePerUnit)
The rate of each unit for the corresponding salary and wages- Parameters:
ratePerUnit- Double
-
numberOfUnitsPerDay
public SalaryAndWage numberOfUnitsPerDay(Double numberOfUnitsPerDay)
The Number of Units per day for the corresponding salary and wages- Parameters:
numberOfUnitsPerDay- Double- Returns:
- SalaryAndWage
-
getNumberOfUnitsPerDay
public Double getNumberOfUnitsPerDay()
The Number of Units per day for the corresponding salary and wages- Returns:
- numberOfUnitsPerDay
-
setNumberOfUnitsPerDay
public void setNumberOfUnitsPerDay(Double numberOfUnitsPerDay)
The Number of Units per day for the corresponding salary and wages- Parameters:
numberOfUnitsPerDay- Double
-
effectiveFrom
public SalaryAndWage effectiveFrom(org.threeten.bp.LocalDate effectiveFrom)
The effective date of the corresponding salary and wages- Parameters:
effectiveFrom- LocalDate- Returns:
- SalaryAndWage
-
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)
The effective date of the corresponding salary and wages- Parameters:
effectiveFrom- LocalDate
-
annualSalary
public SalaryAndWage annualSalary(Double annualSalary)
The annual salary- Parameters:
annualSalary- Double- Returns:
- SalaryAndWage
-
getAnnualSalary
public Double getAnnualSalary()
The annual salary- Returns:
- annualSalary
-
setAnnualSalary
public void setAnnualSalary(Double annualSalary)
The annual salary- Parameters:
annualSalary- Double
-
status
public SalaryAndWage status(SalaryAndWage.StatusEnum status)
The current status of the corresponding salary and wages- Parameters:
status- StatusEnum- Returns:
- SalaryAndWage
-
getStatus
public SalaryAndWage.StatusEnum getStatus()
The current status of the corresponding salary and wages- Returns:
- status
-
setStatus
public void setStatus(SalaryAndWage.StatusEnum status)
The current status of the corresponding salary and wages- Parameters:
status- StatusEnum
-
paymentType
public SalaryAndWage paymentType(SalaryAndWage.PaymentTypeEnum paymentType)
The type of the payment of the corresponding salary and wages- Parameters:
paymentType- PaymentTypeEnum- Returns:
- SalaryAndWage
-
getPaymentType
public SalaryAndWage.PaymentTypeEnum getPaymentType()
The type of the payment of the corresponding salary and wages- Returns:
- paymentType
-
setPaymentType
public void setPaymentType(SalaryAndWage.PaymentTypeEnum paymentType)
The type of the payment of the corresponding salary and wages- Parameters:
paymentType- PaymentTypeEnum
-
-