Class Project


  • public class Project
    extends Object
    Project
    • Constructor Detail

      • Project

        public Project()
    • Method Detail

      • projectId

        public Project projectId​(UUID projectId)
        Identifier of the project.
        Parameters:
        projectId - UUID
        Returns:
        Project
      • getProjectId

        public UUID getProjectId()
        Identifier of the project.
        Returns:
        projectId
      • setProjectId

        public void setProjectId​(UUID projectId)
        Identifier of the project.
        Parameters:
        projectId - UUID
      • contactId

        public Project contactId​(UUID contactId)
        Identifier of the contact this project was created for.
        Parameters:
        contactId - UUID
        Returns:
        Project
      • 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 Project name​(String name)
        Name of the project.
        Parameters:
        name - String
        Returns:
        Project
      • getName

        public String getName()
        Name of the project.
        Returns:
        name
      • setName

        public void setName​(String name)
        Name of the project.
        Parameters:
        name - String
      • currencyCode

        public Project currencyCode​(CurrencyCode currencyCode)
        currencyCode
        Parameters:
        currencyCode - CurrencyCode
        Returns:
        Project
      • getCurrencyCode

        public CurrencyCode getCurrencyCode()
        Get currencyCode
        Returns:
        currencyCode
      • setCurrencyCode

        public void setCurrencyCode​(CurrencyCode currencyCode)
        currencyCode
        Parameters:
        currencyCode - CurrencyCode
      • minutesLogged

        public Project minutesLogged​(Integer minutesLogged)
        A total of minutes logged against all tasks on the Project.
        Parameters:
        minutesLogged - Integer
        Returns:
        Project
      • getMinutesLogged

        public Integer getMinutesLogged()
        A total of minutes logged against all tasks on the Project.
        Returns:
        minutesLogged
      • setMinutesLogged

        public void setMinutesLogged​(Integer minutesLogged)
        A total of minutes logged against all tasks on the Project.
        Parameters:
        minutesLogged - Integer
      • totalTaskAmount

        public Project totalTaskAmount​(Amount totalTaskAmount)
        totalTaskAmount
        Parameters:
        totalTaskAmount - Amount
        Returns:
        Project
      • getTotalTaskAmount

        public Amount getTotalTaskAmount()
        Get totalTaskAmount
        Returns:
        totalTaskAmount
      • setTotalTaskAmount

        public void setTotalTaskAmount​(Amount totalTaskAmount)
        totalTaskAmount
        Parameters:
        totalTaskAmount - Amount
      • totalExpenseAmount

        public Project totalExpenseAmount​(Amount totalExpenseAmount)
        totalExpenseAmount
        Parameters:
        totalExpenseAmount - Amount
        Returns:
        Project
      • getTotalExpenseAmount

        public Amount getTotalExpenseAmount()
        Get totalExpenseAmount
        Returns:
        totalExpenseAmount
      • setTotalExpenseAmount

        public void setTotalExpenseAmount​(Amount totalExpenseAmount)
        totalExpenseAmount
        Parameters:
        totalExpenseAmount - Amount
      • estimateAmount

        public Project estimateAmount​(Amount estimateAmount)
        estimateAmount
        Parameters:
        estimateAmount - Amount
        Returns:
        Project
      • getEstimateAmount

        public Amount getEstimateAmount()
        Get estimateAmount
        Returns:
        estimateAmount
      • setEstimateAmount

        public void setEstimateAmount​(Amount estimateAmount)
        estimateAmount
        Parameters:
        estimateAmount - Amount
      • minutesToBeInvoiced

        public Project minutesToBeInvoiced​(Integer minutesToBeInvoiced)
        Minutes which have not been invoiced across all chargeable tasks in the project.
        Parameters:
        minutesToBeInvoiced - Integer
        Returns:
        Project
      • getMinutesToBeInvoiced

        public Integer getMinutesToBeInvoiced()
        Minutes which have not been invoiced across all chargeable tasks in the project.
        Returns:
        minutesToBeInvoiced
      • setMinutesToBeInvoiced

        public void setMinutesToBeInvoiced​(Integer minutesToBeInvoiced)
        Minutes which have not been invoiced across all chargeable tasks in the project.
        Parameters:
        minutesToBeInvoiced - Integer
      • taskAmountToBeInvoiced

        public Project taskAmountToBeInvoiced​(Amount taskAmountToBeInvoiced)
        taskAmountToBeInvoiced
        Parameters:
        taskAmountToBeInvoiced - Amount
        Returns:
        Project
      • getTaskAmountToBeInvoiced

        public Amount getTaskAmountToBeInvoiced()
        Get taskAmountToBeInvoiced
        Returns:
        taskAmountToBeInvoiced
      • setTaskAmountToBeInvoiced

        public void setTaskAmountToBeInvoiced​(Amount taskAmountToBeInvoiced)
        taskAmountToBeInvoiced
        Parameters:
        taskAmountToBeInvoiced - Amount
      • taskAmountInvoiced

        public Project taskAmountInvoiced​(Amount taskAmountInvoiced)
        taskAmountInvoiced
        Parameters:
        taskAmountInvoiced - Amount
        Returns:
        Project
      • getTaskAmountInvoiced

        public Amount getTaskAmountInvoiced()
        Get taskAmountInvoiced
        Returns:
        taskAmountInvoiced
      • setTaskAmountInvoiced

        public void setTaskAmountInvoiced​(Amount taskAmountInvoiced)
        taskAmountInvoiced
        Parameters:
        taskAmountInvoiced - Amount
      • expenseAmountToBeInvoiced

        public Project expenseAmountToBeInvoiced​(Amount expenseAmountToBeInvoiced)
        expenseAmountToBeInvoiced
        Parameters:
        expenseAmountToBeInvoiced - Amount
        Returns:
        Project
      • getExpenseAmountToBeInvoiced

        public Amount getExpenseAmountToBeInvoiced()
        Get expenseAmountToBeInvoiced
        Returns:
        expenseAmountToBeInvoiced
      • setExpenseAmountToBeInvoiced

        public void setExpenseAmountToBeInvoiced​(Amount expenseAmountToBeInvoiced)
        expenseAmountToBeInvoiced
        Parameters:
        expenseAmountToBeInvoiced - Amount
      • expenseAmountInvoiced

        public Project expenseAmountInvoiced​(Amount expenseAmountInvoiced)
        expenseAmountInvoiced
        Parameters:
        expenseAmountInvoiced - Amount
        Returns:
        Project
      • getExpenseAmountInvoiced

        public Amount getExpenseAmountInvoiced()
        Get expenseAmountInvoiced
        Returns:
        expenseAmountInvoiced
      • setExpenseAmountInvoiced

        public void setExpenseAmountInvoiced​(Amount expenseAmountInvoiced)
        expenseAmountInvoiced
        Parameters:
        expenseAmountInvoiced - Amount
      • projectAmountInvoiced

        public Project projectAmountInvoiced​(Amount projectAmountInvoiced)
        projectAmountInvoiced
        Parameters:
        projectAmountInvoiced - Amount
        Returns:
        Project
      • getProjectAmountInvoiced

        public Amount getProjectAmountInvoiced()
        Get projectAmountInvoiced
        Returns:
        projectAmountInvoiced
      • setProjectAmountInvoiced

        public void setProjectAmountInvoiced​(Amount projectAmountInvoiced)
        projectAmountInvoiced
        Parameters:
        projectAmountInvoiced - Amount
      • deposit

        public Project deposit​(Amount deposit)
        deposit
        Parameters:
        deposit - Amount
        Returns:
        Project
      • getDeposit

        public Amount getDeposit()
        Get deposit
        Returns:
        deposit
      • setDeposit

        public void setDeposit​(Amount deposit)
        deposit
        Parameters:
        deposit - Amount
      • depositApplied

        public Project depositApplied​(Amount depositApplied)
        depositApplied
        Parameters:
        depositApplied - Amount
        Returns:
        Project
      • getDepositApplied

        public Amount getDepositApplied()
        Get depositApplied
        Returns:
        depositApplied
      • setDepositApplied

        public void setDepositApplied​(Amount depositApplied)
        depositApplied
        Parameters:
        depositApplied - Amount
      • creditNoteAmount

        public Project creditNoteAmount​(Amount creditNoteAmount)
        creditNoteAmount
        Parameters:
        creditNoteAmount - Amount
        Returns:
        Project
      • getCreditNoteAmount

        public Amount getCreditNoteAmount()
        Get creditNoteAmount
        Returns:
        creditNoteAmount
      • setCreditNoteAmount

        public void setCreditNoteAmount​(Amount creditNoteAmount)
        creditNoteAmount
        Parameters:
        creditNoteAmount - Amount
      • deadlineUtc

        public Project deadlineUtc​(org.threeten.bp.OffsetDateTime 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

        public Project totalInvoiced​(Amount totalInvoiced)
        totalInvoiced
        Parameters:
        totalInvoiced - Amount
        Returns:
        Project
      • getTotalInvoiced

        public Amount getTotalInvoiced()
        Get totalInvoiced
        Returns:
        totalInvoiced
      • setTotalInvoiced

        public void setTotalInvoiced​(Amount totalInvoiced)
        totalInvoiced
        Parameters:
        totalInvoiced - Amount
      • totalToBeInvoiced

        public Project totalToBeInvoiced​(Amount totalToBeInvoiced)
        totalToBeInvoiced
        Parameters:
        totalToBeInvoiced - Amount
        Returns:
        Project
      • getTotalToBeInvoiced

        public Amount getTotalToBeInvoiced()
        Get totalToBeInvoiced
        Returns:
        totalToBeInvoiced
      • setTotalToBeInvoiced

        public void setTotalToBeInvoiced​(Amount totalToBeInvoiced)
        totalToBeInvoiced
        Parameters:
        totalToBeInvoiced - Amount
      • estimate

        public Project estimate​(Amount estimate)
        estimate
        Parameters:
        estimate - Amount
        Returns:
        Project
      • getEstimate

        public Amount getEstimate()
        Get estimate
        Returns:
        estimate
      • setEstimate

        public void setEstimate​(Amount estimate)
        estimate
        Parameters:
        estimate - Amount
      • status

        public Project status​(ProjectStatus status)
        status
        Parameters:
        status - ProjectStatus
        Returns:
        Project
      • getStatus

        public ProjectStatus getStatus()
        Get status
        Returns:
        status
      • setStatus

        public void setStatus​(ProjectStatus status)
        status
        Parameters:
        status - ProjectStatus
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object