Class TaskCreateOrUpdate

java.lang.Object
com.xero.models.project.TaskCreateOrUpdate

public class TaskCreateOrUpdate
extends Object
TaskCreateOrUpdate
  • Constructor Details

    • TaskCreateOrUpdate

      public TaskCreateOrUpdate()
  • Method Details

    • name

      public TaskCreateOrUpdate name​(String name)
    • getName

      public String getName()
      Name of the task. Max length 100 characters. maximum: 100
      Returns:
      name
    • setName

      public void setName​(String name)
    • rate

      public TaskCreateOrUpdate rate​(Amount rate)
    • getRate

      public Amount getRate()
      Get rate
      Returns:
      rate
    • setRate

      public void setRate​(Amount rate)
    • chargeType

      public TaskCreateOrUpdate chargeType​(ChargeType chargeType)
    • getChargeType

      public ChargeType getChargeType()
      Get chargeType
      Returns:
      chargeType
    • setChargeType

      public void setChargeType​(ChargeType chargeType)
    • estimateMinutes

      public TaskCreateOrUpdate estimateMinutes​(Integer estimateMinutes)
    • getEstimateMinutes

      public Integer getEstimateMinutes()
      Estimated time to perform the task. EstimateMinutes has to be greater than 0 if provided.
      Returns:
      estimateMinutes
    • setEstimateMinutes

      public void setEstimateMinutes​(Integer estimateMinutes)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object