Interface ProjectUpdateInfo


@TypeAdapters(fieldNamingStrategy=true) @Immutable public interface ProjectUpdateInfo
  • Method Details

    • getClient

      @SerializedName(value="client_id", alternate="client") @Nullable Reference<Client> getClient()
    • getName

      @Nullable String getName()
    • getCode

      @Nullable String getCode()
    • getActive

      @SerializedName("is_active") @Nullable Boolean getActive()
    • getBillable

      @SerializedName("is_billable") @Nullable Boolean getBillable()
    • getFixedFee

      @SerializedName("is_fixed_fee") @Nullable Boolean getFixedFee()
      Returns:
      Whether the project is a fixed-fee project or not. Setting this to true at creation will set billBy to NONE, regardless of input
    • getBillBy

      @Nullable Project.BillingMethod getBillBy()
    • getHourlyRate

      @Nullable Double getHourlyRate()
      Returns:
      Rate for projects when billedBy is Project.BillingMethod.PROJECT
    • getBudget

      @Nullable Double getBudget()
      Returns:
      Budget in hours for project when budgetBy is Project.BudgetMethod.HOURS_PER_PROJECT
    • getBudgetBy

      @Nullable Project.BudgetMethod getBudgetBy()
    • getNotifyWhenOverBudget

      @Nullable Boolean getNotifyWhenOverBudget()
    • getOverBudgetNotificationPercentage

      @Nullable Double getOverBudgetNotificationPercentage()
    • getOverBudgetNotificationDate

      @Nullable LocalDate getOverBudgetNotificationDate()
    • getShowBudgetToAll

      @Nullable Boolean getShowBudgetToAll()
      Returns:
      Option to show project budget to all employees. Does not apply to Total Project Fee projects. Defaults to false.
    • getCostBudget

      @Nullable Double getCostBudget()
      Returns:
      The monetary budget for the project when budgetBy is Project.BudgetMethod.TOTAL_PROJECT_FEES
    • getCostBudgetIncludeExpenses

      @Nullable Boolean getCostBudgetIncludeExpenses()
      Returns:
      Option for budget of Total Project Fees projects to include tracked expenses. Defaults to false.
    • getFee

      @Nullable Double getFee()
      Returns:
      The amount you plan to invoice for the project. Only used by fixed-fee projects.
    • getNotes

      @Nullable String getNotes()
    • getStartsOn

      @Nullable LocalDate getStartsOn()
    • getEndsOn

      @Nullable LocalDate getEndsOn()