Package com.xero.models.assets
Class BookDepreciationDetail
java.lang.Object
com.xero.models.assets.BookDepreciationDetail
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe value of the asset you want to depreciate, if this is less than the cost of the asset.currentAccumDepreciationAmount(Double currentAccumDepreciationAmount) All depreciation occurring in the current financial year.currentCapitalGain(Double currentCapitalGain) When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.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.depreciationStartDate(org.threeten.bp.LocalDate depreciationStartDate) YYYY-MM-DDbooleanThe value of the asset you want to depreciate, if this is less than the cost of the asset.All depreciation occurring in the current financial year.When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.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.LocalDateYYYY-MM-DDAll depreciation prior to the current financial year.The value of the asset remaining when you've fully depreciated it.inthashCode()priorAccumDepreciationAmount(Double priorAccumDepreciationAmount) All depreciation prior to the current financial year.residualValue(Double residualValue) The value of the asset remaining when you've fully depreciated it.voidsetCostLimit(Double costLimit) The value of the asset you want to depreciate, if this is less than the cost of the asset.voidsetCurrentAccumDepreciationAmount(Double currentAccumDepreciationAmount) All depreciation occurring in the current financial year.voidsetCurrentCapitalGain(Double currentCapitalGain) When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.voidsetCurrentGainLoss(Double currentGainLoss) When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value.voidsetDepreciationStartDate(org.threeten.bp.LocalDate depreciationStartDate) YYYY-MM-DDvoidsetPriorAccumDepreciationAmount(Double priorAccumDepreciationAmount) All depreciation prior to the current financial year.voidsetResidualValue(Double residualValue) The value of the asset remaining when you've fully depreciated it.toString()
-
Constructor Details
-
BookDepreciationDetail
public BookDepreciationDetail()
-
-
Method Details
-
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
When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.- Returns:
- currentCapitalGain
-
setCurrentCapitalGain
When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.- Parameters:
currentCapitalGain- 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
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
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
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
The value of the asset you want to depreciate, if this is less than the cost of the asset.- Returns:
- costLimit
-
setCostLimit
The value of the asset you want to depreciate, if this is less than the cost of the asset.- Parameters:
costLimit- Double
-
residualValue
The value of the asset remaining when you've fully depreciated it.- Parameters:
residualValue- Double- Returns:
- BookDepreciationDetail
-
getResidualValue
The value of the asset remaining when you've fully depreciated it.- Returns:
- residualValue
-
setResidualValue
The value of the asset remaining when you've fully depreciated it.- Parameters:
residualValue- Double
-
priorAccumDepreciationAmount
All depreciation prior to the current financial year.- Parameters:
priorAccumDepreciationAmount- Double- Returns:
- BookDepreciationDetail
-
getPriorAccumDepreciationAmount
All depreciation prior to the current financial year.- Returns:
- priorAccumDepreciationAmount
-
setPriorAccumDepreciationAmount
All depreciation prior to the current financial year.- Parameters:
priorAccumDepreciationAmount- Double
-
currentAccumDepreciationAmount
All depreciation occurring in the current financial year.- Parameters:
currentAccumDepreciationAmount- Double- Returns:
- BookDepreciationDetail
-
getCurrentAccumDepreciationAmount
All depreciation occurring in the current financial year.- Returns:
- currentAccumDepreciationAmount
-
setCurrentAccumDepreciationAmount
All depreciation occurring in the current financial year.- Parameters:
currentAccumDepreciationAmount- Double
-
equals
-
hashCode
-
toString
-