Class BookDepreciationDetail


  • public class BookDepreciationDetail
    extends Object
    BookDepreciationDetail
    • Constructor Detail

      • BookDepreciationDetail

        public BookDepreciationDetail()
    • Method Detail

      • currentCapitalGain

        public BookDepreciationDetail currentCapitalGain​(Double currentCapitalGain)
        When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.
        Parameters:
        currentCapitalGain - Double
        Returns:
        BookDepreciationDetail
      • getCurrentCapitalGain

        public Double getCurrentCapitalGain()
        When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.
        Returns:
        currentCapitalGain
      • setCurrentCapitalGain

        public void setCurrentCapitalGain​(Double currentCapitalGain)
        When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.
        Parameters:
        currentCapitalGain - Double
      • currentGainLoss

        public BookDepreciationDetail currentGainLoss​(Double currentGainLoss)
        When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value.
        Parameters:
        currentGainLoss - Double
        Returns:
        BookDepreciationDetail
      • getCurrentGainLoss

        public Double getCurrentGainLoss()
        When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value.
        Returns:
        currentGainLoss
      • setCurrentGainLoss

        public void setCurrentGainLoss​(Double currentGainLoss)
        When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value.
        Parameters:
        currentGainLoss - Double
      • depreciationStartDate

        public BookDepreciationDetail depreciationStartDate​(org.threeten.bp.LocalDate depreciationStartDate)
        YYYY-MM-DD
        Parameters:
        depreciationStartDate - LocalDate
        Returns:
        BookDepreciationDetail
      • getDepreciationStartDate

        public org.threeten.bp.LocalDate getDepreciationStartDate()
        YYYY-MM-DD
        Returns:
        depreciationStartDate
      • setDepreciationStartDate

        public void setDepreciationStartDate​(org.threeten.bp.LocalDate depreciationStartDate)
        YYYY-MM-DD
        Parameters:
        depreciationStartDate - LocalDate
      • costLimit

        public BookDepreciationDetail costLimit​(Double costLimit)
        The value of the asset you want to depreciate, if this is less than the cost of the asset.
        Parameters:
        costLimit - Double
        Returns:
        BookDepreciationDetail
      • getCostLimit

        public Double getCostLimit()
        The value of the asset you want to depreciate, if this is less than the cost of the asset.
        Returns:
        costLimit
      • setCostLimit

        public void setCostLimit​(Double costLimit)
        The value of the asset you want to depreciate, if this is less than the cost of the asset.
        Parameters:
        costLimit - Double
      • residualValue

        public BookDepreciationDetail residualValue​(Double residualValue)
        The value of the asset remaining when you've fully depreciated it.
        Parameters:
        residualValue - Double
        Returns:
        BookDepreciationDetail
      • getResidualValue

        public Double getResidualValue()
        The value of the asset remaining when you've fully depreciated it.
        Returns:
        residualValue
      • setResidualValue

        public void setResidualValue​(Double residualValue)
        The value of the asset remaining when you've fully depreciated it.
        Parameters:
        residualValue - Double
      • priorAccumDepreciationAmount

        public BookDepreciationDetail priorAccumDepreciationAmount​(Double priorAccumDepreciationAmount)
        All depreciation prior to the current financial year.
        Parameters:
        priorAccumDepreciationAmount - Double
        Returns:
        BookDepreciationDetail
      • getPriorAccumDepreciationAmount

        public Double getPriorAccumDepreciationAmount()
        All depreciation prior to the current financial year.
        Returns:
        priorAccumDepreciationAmount
      • setPriorAccumDepreciationAmount

        public void setPriorAccumDepreciationAmount​(Double priorAccumDepreciationAmount)
        All depreciation prior to the current financial year.
        Parameters:
        priorAccumDepreciationAmount - Double
      • currentAccumDepreciationAmount

        public BookDepreciationDetail currentAccumDepreciationAmount​(Double currentAccumDepreciationAmount)
        All depreciation occurring in the current financial year.
        Parameters:
        currentAccumDepreciationAmount - Double
        Returns:
        BookDepreciationDetail
      • getCurrentAccumDepreciationAmount

        public Double getCurrentAccumDepreciationAmount()
        All depreciation occurring in the current financial year.
        Returns:
        currentAccumDepreciationAmount
      • setCurrentAccumDepreciationAmount

        public void setCurrentAccumDepreciationAmount​(Double currentAccumDepreciationAmount)
        All depreciation occurring in the current financial year.
        Parameters:
        currentAccumDepreciationAmount - Double
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object