Package com.xero.models.project
Class Project
java.lang.Object
com.xero.models.project.Project
public class Project extends Object
Project
-
Constructor Summary
Constructors Constructor Description Project() -
Method Summary
Modifier and Type Method Description ProjectcontactId(UUID contactId)ProjectcreditNoteAmount(Amount creditNoteAmount)ProjectcurrencyCode(CurrencyCode currencyCode)ProjectdeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc)Projectdeposit(Amount deposit)ProjectdepositApplied(Amount depositApplied)booleanequals(Object o)Projectestimate(Amount estimate)ProjectestimateAmount(Amount estimateAmount)ProjectexpenseAmountInvoiced(Amount expenseAmountInvoiced)ProjectexpenseAmountToBeInvoiced(Amount expenseAmountToBeInvoiced)UUIDgetContactId()Identifier of the contact this project was created for.AmountgetCreditNoteAmount()Get creditNoteAmountCurrencyCodegetCurrencyCode()Get currencyCodeorg.threeten.bp.OffsetDateTimegetDeadlineUtc()Deadline for the project.AmountgetDeposit()Get depositAmountgetDepositApplied()Get depositAppliedAmountgetEstimate()Get estimateAmountgetEstimateAmount()Get estimateAmountAmountgetExpenseAmountInvoiced()Get expenseAmountInvoicedAmountgetExpenseAmountToBeInvoiced()Get expenseAmountToBeInvoicedIntegergetMinutesLogged()A total of minutes logged against all tasks on the Project.IntegergetMinutesToBeInvoiced()Minutes which have not been invoiced across all chargeable tasks in the project.StringgetName()Name of the project.AmountgetProjectAmountInvoiced()Get projectAmountInvoicedUUIDgetProjectId()Identifier of the project.ProjectStatusgetStatus()Get statusAmountgetTaskAmountInvoiced()Get taskAmountInvoicedAmountgetTaskAmountToBeInvoiced()Get taskAmountToBeInvoicedAmountgetTotalExpenseAmount()Get totalExpenseAmountAmountgetTotalInvoiced()Get totalInvoicedAmountgetTotalTaskAmount()Get totalTaskAmountAmountgetTotalToBeInvoiced()Get totalToBeInvoicedinthashCode()ProjectminutesLogged(Integer minutesLogged)ProjectminutesToBeInvoiced(Integer minutesToBeInvoiced)Projectname(String name)ProjectprojectAmountInvoiced(Amount projectAmountInvoiced)ProjectprojectId(UUID projectId)voidsetContactId(UUID contactId)voidsetCreditNoteAmount(Amount creditNoteAmount)voidsetCurrencyCode(CurrencyCode currencyCode)voidsetDeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc)voidsetDeposit(Amount deposit)voidsetDepositApplied(Amount depositApplied)voidsetEstimate(Amount estimate)voidsetEstimateAmount(Amount estimateAmount)voidsetExpenseAmountInvoiced(Amount expenseAmountInvoiced)voidsetExpenseAmountToBeInvoiced(Amount expenseAmountToBeInvoiced)voidsetMinutesLogged(Integer minutesLogged)voidsetMinutesToBeInvoiced(Integer minutesToBeInvoiced)voidsetName(String name)voidsetProjectAmountInvoiced(Amount projectAmountInvoiced)voidsetProjectId(UUID projectId)voidsetStatus(ProjectStatus status)voidsetTaskAmountInvoiced(Amount taskAmountInvoiced)voidsetTaskAmountToBeInvoiced(Amount taskAmountToBeInvoiced)voidsetTotalExpenseAmount(Amount totalExpenseAmount)voidsetTotalInvoiced(Amount totalInvoiced)voidsetTotalTaskAmount(Amount totalTaskAmount)voidsetTotalToBeInvoiced(Amount totalToBeInvoiced)Projectstatus(ProjectStatus status)ProjecttaskAmountInvoiced(Amount taskAmountInvoiced)ProjecttaskAmountToBeInvoiced(Amount taskAmountToBeInvoiced)StringtoString()ProjecttotalExpenseAmount(Amount totalExpenseAmount)ProjecttotalInvoiced(Amount totalInvoiced)ProjecttotalTaskAmount(Amount totalTaskAmount)ProjecttotalToBeInvoiced(Amount totalToBeInvoiced)
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
projectId
-
getProjectId
Identifier of the project.- Returns:
- projectId
-
setProjectId
-
contactId
-
getContactId
Identifier of the contact this project was created for.- Returns:
- contactId
-
setContactId
-
name
-
getName
Name of the project.- Returns:
- name
-
setName
-
currencyCode
-
getCurrencyCode
Get currencyCode- Returns:
- currencyCode
-
setCurrencyCode
-
minutesLogged
-
getMinutesLogged
A total of minutes logged against all tasks on the Project.- Returns:
- minutesLogged
-
setMinutesLogged
-
totalTaskAmount
-
getTotalTaskAmount
Get totalTaskAmount- Returns:
- totalTaskAmount
-
setTotalTaskAmount
-
totalExpenseAmount
-
getTotalExpenseAmount
Get totalExpenseAmount- Returns:
- totalExpenseAmount
-
setTotalExpenseAmount
-
estimateAmount
-
getEstimateAmount
Get estimateAmount- Returns:
- estimateAmount
-
setEstimateAmount
-
minutesToBeInvoiced
-
getMinutesToBeInvoiced
Minutes which have not been invoiced across all chargeable tasks in the project.- Returns:
- minutesToBeInvoiced
-
setMinutesToBeInvoiced
-
taskAmountToBeInvoiced
-
getTaskAmountToBeInvoiced
Get taskAmountToBeInvoiced- Returns:
- taskAmountToBeInvoiced
-
setTaskAmountToBeInvoiced
-
taskAmountInvoiced
-
getTaskAmountInvoiced
Get taskAmountInvoiced- Returns:
- taskAmountInvoiced
-
setTaskAmountInvoiced
-
expenseAmountToBeInvoiced
-
getExpenseAmountToBeInvoiced
Get expenseAmountToBeInvoiced- Returns:
- expenseAmountToBeInvoiced
-
setExpenseAmountToBeInvoiced
-
expenseAmountInvoiced
-
getExpenseAmountInvoiced
Get expenseAmountInvoiced- Returns:
- expenseAmountInvoiced
-
setExpenseAmountInvoiced
-
projectAmountInvoiced
-
getProjectAmountInvoiced
Get projectAmountInvoiced- Returns:
- projectAmountInvoiced
-
setProjectAmountInvoiced
-
deposit
-
getDeposit
Get deposit- Returns:
- deposit
-
setDeposit
-
depositApplied
-
getDepositApplied
Get depositApplied- Returns:
- depositApplied
-
setDepositApplied
-
creditNoteAmount
-
getCreditNoteAmount
Get creditNoteAmount- Returns:
- creditNoteAmount
-
setCreditNoteAmount
-
deadlineUtc
-
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) -
totalInvoiced
-
getTotalInvoiced
Get totalInvoiced- Returns:
- totalInvoiced
-
setTotalInvoiced
-
totalToBeInvoiced
-
getTotalToBeInvoiced
Get totalToBeInvoiced- Returns:
- totalToBeInvoiced
-
setTotalToBeInvoiced
-
estimate
-
getEstimate
Get estimate- Returns:
- estimate
-
setEstimate
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
equals
-
hashCode
public int hashCode() -
toString
-