Package com.xero.models.project
Class Project
java.lang.Object
com.xero.models.project.Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIdentifier of the contact this project was created for.creditNoteAmount(Amount creditNoteAmount) creditNoteAmountcurrencyCode(CurrencyCode currencyCode) currencyCodedeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc) Deadline for the project.depositdepositApplied(Amount depositApplied) depositAppliedbooleanestimateestimateAmount(Amount estimateAmount) estimateAmountexpenseAmountInvoiced(Amount expenseAmountInvoiced) expenseAmountInvoicedexpenseAmountToBeInvoiced(Amount expenseAmountToBeInvoiced) expenseAmountToBeInvoicedIdentifier of the contact this project was created for.Get creditNoteAmountGet currencyCodeorg.threeten.bp.OffsetDateTimeDeadline for the project.Get depositGet depositAppliedGet estimateGet estimateAmountGet expenseAmountInvoicedGet expenseAmountToBeInvoicedA total of minutes logged against all tasks on the Project.Minutes which have not been invoiced across all chargeable tasks in the project.getName()Name of the project.Get projectAmountInvoicedIdentifier of the project.Get statusGet taskAmountInvoicedGet taskAmountToBeInvoicedGet totalExpenseAmountGet totalInvoicedGet totalTaskAmountGet totalToBeInvoicedinthashCode()minutesLogged(Integer minutesLogged) A total of minutes logged against all tasks on the Project.minutesToBeInvoiced(Integer minutesToBeInvoiced) Minutes which have not been invoiced across all chargeable tasks in the project.Name of the project.projectAmountInvoiced(Amount projectAmountInvoiced) projectAmountInvoicedIdentifier of the project.voidsetContactId(UUID contactId) Identifier of the contact this project was created for.voidsetCreditNoteAmount(Amount creditNoteAmount) creditNoteAmountvoidsetCurrencyCode(CurrencyCode currencyCode) currencyCodevoidsetDeadlineUtc(org.threeten.bp.OffsetDateTime deadlineUtc) Deadline for the project.voidsetDeposit(Amount deposit) depositvoidsetDepositApplied(Amount depositApplied) depositAppliedvoidsetEstimate(Amount estimate) estimatevoidsetEstimateAmount(Amount estimateAmount) estimateAmountvoidsetExpenseAmountInvoiced(Amount expenseAmountInvoiced) expenseAmountInvoicedvoidsetExpenseAmountToBeInvoiced(Amount expenseAmountToBeInvoiced) expenseAmountToBeInvoicedvoidsetMinutesLogged(Integer minutesLogged) A total of minutes logged against all tasks on the Project.voidsetMinutesToBeInvoiced(Integer minutesToBeInvoiced) Minutes which have not been invoiced across all chargeable tasks in the project.voidName of the project.voidsetProjectAmountInvoiced(Amount projectAmountInvoiced) projectAmountInvoicedvoidsetProjectId(UUID projectId) Identifier of the project.voidsetStatus(ProjectStatus status) statusvoidsetTaskAmountInvoiced(Amount taskAmountInvoiced) taskAmountInvoicedvoidsetTaskAmountToBeInvoiced(Amount taskAmountToBeInvoiced) taskAmountToBeInvoicedvoidsetTotalExpenseAmount(Amount totalExpenseAmount) totalExpenseAmountvoidsetTotalInvoiced(Amount totalInvoiced) totalInvoicedvoidsetTotalTaskAmount(Amount totalTaskAmount) totalTaskAmountvoidsetTotalToBeInvoiced(Amount totalToBeInvoiced) totalToBeInvoicedstatus(ProjectStatus status) statustaskAmountInvoiced(Amount taskAmountInvoiced) taskAmountInvoicedtaskAmountToBeInvoiced(Amount taskAmountToBeInvoiced) taskAmountToBeInvoicedtoString()totalExpenseAmount(Amount totalExpenseAmount) totalExpenseAmounttotalInvoiced(Amount totalInvoiced) totalInvoicedtotalTaskAmount(Amount totalTaskAmount) totalTaskAmounttotalToBeInvoiced(Amount totalToBeInvoiced) totalToBeInvoiced
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
projectId
-
getProjectId
-
setProjectId
-
contactId
-
getContactId
Identifier of the contact this project was created for.- Returns:
- contactId
-
setContactId
Identifier of the contact this project was created for.- Parameters:
contactId- UUID
-
name
-
getName
-
setName
-
currencyCode
currencyCode- Parameters:
currencyCode- CurrencyCode- Returns:
- Project
-
getCurrencyCode
-
setCurrencyCode
currencyCode- Parameters:
currencyCode- CurrencyCode
-
minutesLogged
-
getMinutesLogged
A total of minutes logged against all tasks on the Project.- Returns:
- minutesLogged
-
setMinutesLogged
A total of minutes logged against all tasks on the Project.- Parameters:
minutesLogged- Integer
-
totalTaskAmount
-
getTotalTaskAmount
-
setTotalTaskAmount
totalTaskAmount- Parameters:
totalTaskAmount- Amount
-
totalExpenseAmount
-
getTotalExpenseAmount
-
setTotalExpenseAmount
totalExpenseAmount- Parameters:
totalExpenseAmount- Amount
-
estimateAmount
-
getEstimateAmount
-
setEstimateAmount
estimateAmount- Parameters:
estimateAmount- Amount
-
minutesToBeInvoiced
-
getMinutesToBeInvoiced
Minutes which have not been invoiced across all chargeable tasks in the project.- Returns:
- minutesToBeInvoiced
-
setMinutesToBeInvoiced
Minutes which have not been invoiced across all chargeable tasks in the project.- Parameters:
minutesToBeInvoiced- Integer
-
taskAmountToBeInvoiced
-
getTaskAmountToBeInvoiced
Get taskAmountToBeInvoiced- Returns:
- taskAmountToBeInvoiced
-
setTaskAmountToBeInvoiced
taskAmountToBeInvoiced- Parameters:
taskAmountToBeInvoiced- Amount
-
taskAmountInvoiced
-
getTaskAmountInvoiced
-
setTaskAmountInvoiced
taskAmountInvoiced- Parameters:
taskAmountInvoiced- Amount
-
expenseAmountToBeInvoiced
-
getExpenseAmountToBeInvoiced
Get expenseAmountToBeInvoiced- Returns:
- expenseAmountToBeInvoiced
-
setExpenseAmountToBeInvoiced
expenseAmountToBeInvoiced- Parameters:
expenseAmountToBeInvoiced- Amount
-
expenseAmountInvoiced
-
getExpenseAmountInvoiced
-
setExpenseAmountInvoiced
expenseAmountInvoiced- Parameters:
expenseAmountInvoiced- Amount
-
projectAmountInvoiced
-
getProjectAmountInvoiced
-
setProjectAmountInvoiced
projectAmountInvoiced- Parameters:
projectAmountInvoiced- Amount
-
deposit
-
getDeposit
-
setDeposit
-
depositApplied
-
getDepositApplied
-
setDepositApplied
depositApplied- Parameters:
depositApplied- Amount
-
creditNoteAmount
-
getCreditNoteAmount
-
setCreditNoteAmount
creditNoteAmount- Parameters:
creditNoteAmount- Amount
-
deadlineUtc
Deadline for the project. UTC Date Time in ISO-8601 format.- Parameters:
deadlineUtc- OffsetDateTime- Returns:
- Project
-
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
-
totalInvoiced
-
getTotalInvoiced
-
setTotalInvoiced
-
totalToBeInvoiced
-
getTotalToBeInvoiced
-
setTotalToBeInvoiced
totalToBeInvoiced- Parameters:
totalToBeInvoiced- Amount
-
estimate
-
getEstimate
-
setEstimate
-
status
status- Parameters:
status- ProjectStatus- Returns:
- Project
-
getStatus
-
setStatus
-
equals
-
hashCode
-
toString
-