Package com.xero.models.assets
Class BookDepreciationDetail
java.lang.Object
com.xero.models.assets.BookDepreciationDetail
public class BookDepreciationDetail extends Object
BookDepreciationDetail
-
Constructor Summary
Constructors Constructor Description BookDepreciationDetail() -
Method Summary
Modifier and Type Method Description BookDepreciationDetailcostLimit(Double costLimit)BookDepreciationDetailcurrentAccumDepreciationAmount(Double currentAccumDepreciationAmount)BookDepreciationDetailcurrentCapitalGain(Double currentCapitalGain)BookDepreciationDetailcurrentGainLoss(Double currentGainLoss)BookDepreciationDetaildepreciationStartDate(org.threeten.bp.LocalDate depreciationStartDate)booleanequals(Object o)DoublegetCostLimit()The value of the asset you want to depreciate, if this is less than the cost of the asset.DoublegetCurrentAccumDepreciationAmount()All depreciation occurring in the current financial year.DoublegetCurrentCapitalGain()When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.DoublegetCurrentGainLoss()When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value.org.threeten.bp.LocalDategetDepreciationStartDate()YYYY-MM-DDDoublegetPriorAccumDepreciationAmount()All depreciation prior to the current financial year.DoublegetResidualValue()The value of the asset remaining when you've fully depreciated it.inthashCode()BookDepreciationDetailpriorAccumDepreciationAmount(Double priorAccumDepreciationAmount)BookDepreciationDetailresidualValue(Double residualValue)voidsetCostLimit(Double costLimit)voidsetCurrentAccumDepreciationAmount(Double currentAccumDepreciationAmount)voidsetCurrentCapitalGain(Double currentCapitalGain)voidsetCurrentGainLoss(Double currentGainLoss)voidsetDepreciationStartDate(org.threeten.bp.LocalDate depreciationStartDate)voidsetPriorAccumDepreciationAmount(Double priorAccumDepreciationAmount)voidsetResidualValue(Double residualValue)StringtoString()
-
Constructor Details
-
BookDepreciationDetail
public BookDepreciationDetail()
-
-
Method Details
-
currentCapitalGain
-
getCurrentCapitalGain
When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.- Returns:
- currentCapitalGain
-
setCurrentCapitalGain
-
currentGainLoss
-
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
-
depreciationStartDate
public BookDepreciationDetail depreciationStartDate(org.threeten.bp.LocalDate depreciationStartDate) -
getDepreciationStartDate
public org.threeten.bp.LocalDate getDepreciationStartDate()YYYY-MM-DD- Returns:
- depreciationStartDate
-
setDepreciationStartDate
public void setDepreciationStartDate(org.threeten.bp.LocalDate depreciationStartDate) -
costLimit
-
getCostLimit
The value of the asset you want to depreciate, if this is less than the cost of the asset.- Returns:
- costLimit
-
setCostLimit
-
residualValue
-
getResidualValue
The value of the asset remaining when you've fully depreciated it.- Returns:
- residualValue
-
setResidualValue
-
priorAccumDepreciationAmount
-
getPriorAccumDepreciationAmount
All depreciation prior to the current financial year.- Returns:
- priorAccumDepreciationAmount
-
setPriorAccumDepreciationAmount
-
currentAccumDepreciationAmount
public BookDepreciationDetail currentAccumDepreciationAmount(Double currentAccumDepreciationAmount) -
getCurrentAccumDepreciationAmount
All depreciation occurring in the current financial year.- Returns:
- currentAccumDepreciationAmount
-
setCurrentAccumDepreciationAmount
-
equals
-
hashCode
public int hashCode() -
toString
-