public class Task extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Task.StatusEnum
Status of the task.
|
| Constructor and Description |
|---|
Task() |
| Modifier and Type | Method and Description |
|---|---|
Task |
amountInvoiced(Amount amountInvoiced) |
Task |
amountToBeInvoiced(Amount amountToBeInvoiced) |
Task |
chargeType(ChargeType chargeType) |
boolean |
equals(Object o) |
Task |
estimateMinutes(Double estimateMinutes) |
Task |
fixedMinutes(Double fixedMinutes) |
Amount |
getAmountInvoiced()
Get amountInvoiced
|
Amount |
getAmountToBeInvoiced()
Get amountToBeInvoiced
|
ChargeType |
getChargeType()
Get chargeType
|
Double |
getEstimateMinutes()
An estimated time to perform the task
|
Double |
getFixedMinutes()
Minutes logged against this task if its charge type is `FIXED`.
|
Double |
getMinutesInvoiced()
Minutes on this task which have been invoiced.
|
Double |
getMinutesToBeInvoiced()
Minutes on this task which have not been invoiced.
|
String |
getName()
Name of the task.
|
Double |
getNonChargeableMinutes()
Minutes logged against this task if its charge type is `NON_CHARGEABLE`.
|
UUID |
getProjectId()
Identifier of the project task belongs to.
|
Amount |
getRate()
Get rate
|
Task.StatusEnum |
getStatus()
Status of the task.
|
UUID |
getTaskId()
Identifier of the task.
|
Amount |
getTotalAmount()
Get totalAmount
|
Double |
getTotalMinutes()
Total minutes which have been logged against the task.
|
int |
hashCode() |
Task |
minutesInvoiced(Double minutesInvoiced) |
Task |
minutesToBeInvoiced(Double minutesToBeInvoiced) |
Task |
name(String name) |
Task |
nonChargeableMinutes(Double nonChargeableMinutes) |
Task |
projectId(UUID projectId) |
Task |
rate(Amount rate) |
void |
setAmountInvoiced(Amount amountInvoiced) |
void |
setAmountToBeInvoiced(Amount amountToBeInvoiced) |
void |
setChargeType(ChargeType chargeType) |
void |
setEstimateMinutes(Double estimateMinutes) |
void |
setFixedMinutes(Double fixedMinutes) |
void |
setMinutesInvoiced(Double minutesInvoiced) |
void |
setMinutesToBeInvoiced(Double minutesToBeInvoiced) |
void |
setName(String name) |
void |
setNonChargeableMinutes(Double nonChargeableMinutes) |
void |
setProjectId(UUID projectId) |
void |
setRate(Amount rate) |
void |
setStatus(Task.StatusEnum status) |
void |
setTaskId(UUID taskId) |
void |
setTotalAmount(Amount totalAmount) |
void |
setTotalMinutes(Double totalMinutes) |
Task |
status(Task.StatusEnum status) |
Task |
taskId(UUID taskId) |
String |
toString() |
Task |
totalAmount(Amount totalAmount) |
Task |
totalMinutes(Double totalMinutes) |
public UUID getTaskId()
public void setTaskId(UUID taskId)
public String getName()
public void setName(String name)
public Amount getRate()
public void setRate(Amount rate)
public Task chargeType(ChargeType chargeType)
public ChargeType getChargeType()
public void setChargeType(ChargeType chargeType)
public Double getEstimateMinutes()
public void setEstimateMinutes(Double estimateMinutes)
public UUID getProjectId()
public void setProjectId(UUID projectId)
public Double getTotalMinutes()
public void setTotalMinutes(Double totalMinutes)
public Amount getTotalAmount()
public void setTotalAmount(Amount totalAmount)
public Double getMinutesInvoiced()
public void setMinutesInvoiced(Double minutesInvoiced)
public Double getMinutesToBeInvoiced()
public void setMinutesToBeInvoiced(Double minutesToBeInvoiced)
public Double getFixedMinutes()
public void setFixedMinutes(Double fixedMinutes)
public Double getNonChargeableMinutes()
public void setNonChargeableMinutes(Double nonChargeableMinutes)
public Amount getAmountToBeInvoiced()
public void setAmountToBeInvoiced(Amount amountToBeInvoiced)
public Amount getAmountInvoiced()
public void setAmountInvoiced(Amount amountInvoiced)
public Task status(Task.StatusEnum status)
public Task.StatusEnum getStatus()
public void setStatus(Task.StatusEnum status)
Copyright © 2020. All rights reserved.