Package com.xero.models.project
Class ProjectCreateOrUpdate
- java.lang.Object
-
- com.xero.models.project.ProjectCreateOrUpdate
-
public class ProjectCreateOrUpdate extends Object
ProjectCreateOrUpdate
-
-
Constructor Summary
Constructors Constructor Description ProjectCreateOrUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectCreateOrUpdatecontactId(UUID contactId)Identifier of the contact this project was created for.ProjectCreateOrUpdatedeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc)Deadline for the project.booleanequals(Object o)ProjectCreateOrUpdateestimateAmount(Double estimateAmount)estimateAmountUUIDgetContactId()Identifier of the contact this project was created for.org.threeten.bp.OffsetDateTimegetDeadlineUtc()Deadline for the project.DoublegetEstimateAmount()Get estimateAmountStringgetName()Name of the project.inthashCode()ProjectCreateOrUpdatename(String name)Name of the project.voidsetContactId(UUID contactId)Identifier of the contact this project was created for.voidsetDeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc)Deadline for the project.voidsetEstimateAmount(Double estimateAmount)estimateAmountvoidsetName(String name)Name of the project.StringtoString()
-
-
-
Method Detail
-
contactId
public ProjectCreateOrUpdate contactId(UUID contactId)
Identifier of the contact this project was created for.- Parameters:
contactId- UUID- Returns:
- ProjectCreateOrUpdate
-
getContactId
public UUID getContactId()
Identifier of the contact this project was created for.- Returns:
- contactId
-
setContactId
public void setContactId(UUID contactId)
Identifier of the contact this project was created for.- Parameters:
contactId- UUID
-
name
public ProjectCreateOrUpdate name(String name)
Name of the project.- Parameters:
name- String- Returns:
- ProjectCreateOrUpdate
-
getName
public String getName()
Name of the project.- Returns:
- name
-
setName
public void setName(String name)
Name of the project.- Parameters:
name- String
-
estimateAmount
public ProjectCreateOrUpdate estimateAmount(Double estimateAmount)
estimateAmount- Parameters:
estimateAmount- Double- Returns:
- ProjectCreateOrUpdate
-
getEstimateAmount
public Double getEstimateAmount()
Get estimateAmount- Returns:
- estimateAmount
-
setEstimateAmount
public void setEstimateAmount(Double estimateAmount)
estimateAmount- Parameters:
estimateAmount- Double
-
deadlineUtc
public ProjectCreateOrUpdate deadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc)
Deadline for the project. UTC Date Time in ISO-8601 format.- Parameters:
deadlineUtc- OffsetDateTime- Returns:
- ProjectCreateOrUpdate
-
getDeadlineUtc
public org.threeten.bp.OffsetDateTime getDeadlineUtc()
Deadline for the project. UTC Date Time in ISO-8601 format.- Returns:
- deadlineUtc
-
setDeadlineUtc
public void setDeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc)
Deadline for the project. UTC Date Time in ISO-8601 format.- Parameters:
deadlineUtc- OffsetDateTime
-
-