Package com.xero.models.project
Class TaskCreateOrUpdate
java.lang.Object
com.xero.models.project.TaskCreateOrUpdate
public class TaskCreateOrUpdate extends Object
TaskCreateOrUpdate
-
Constructor Summary
Constructors Constructor Description TaskCreateOrUpdate() -
Method Summary
Modifier and Type Method Description TaskCreateOrUpdatechargeType(ChargeType chargeType)booleanequals(Object o)TaskCreateOrUpdateestimateMinutes(Integer estimateMinutes)ChargeTypegetChargeType()Get chargeTypeIntegergetEstimateMinutes()Estimated time to perform the task.StringgetName()Name of the task.AmountgetRate()Get rateinthashCode()TaskCreateOrUpdatename(String name)TaskCreateOrUpdaterate(Amount rate)voidsetChargeType(ChargeType chargeType)voidsetEstimateMinutes(Integer estimateMinutes)voidsetName(String name)voidsetRate(Amount rate)StringtoString()
-
Constructor Details
-
TaskCreateOrUpdate
public TaskCreateOrUpdate()
-
-
Method Details
-
name
-
getName
Name of the task. Max length 100 characters. maximum: 100- Returns:
- name
-
setName
-
rate
-
getRate
Get rate- Returns:
- rate
-
setRate
-
chargeType
-
getChargeType
Get chargeType- Returns:
- chargeType
-
setChargeType
-
estimateMinutes
-
getEstimateMinutes
Estimated time to perform the task. EstimateMinutes has to be greater than 0 if provided.- Returns:
- estimateMinutes
-
setEstimateMinutes
-
equals
-
hashCode
public int hashCode() -
toString
-