Package com.xero.models.assets
Class BookDepreciationSetting
java.lang.Object
com.xero.models.assets.BookDepreciationSetting
public class BookDepreciationSetting extends Object
BookDepreciationSetting
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookDepreciationSetting.AveragingMethodEnumThe method of averaging applied to this asset.static classBookDepreciationSetting.DepreciationCalculationMethodEnumSee Depreciation Calculation Methodsstatic classBookDepreciationSetting.DepreciationMethodEnumThe method of depreciation applied to this asset. -
Constructor Summary
Constructors Constructor Description BookDepreciationSetting() -
Method Summary
-
Constructor Details
-
BookDepreciationSetting
public BookDepreciationSetting()
-
-
Method Details
-
depreciationMethod
public BookDepreciationSetting depreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod) -
getDepreciationMethod
The method of depreciation applied to this asset. See Depreciation Methods- Returns:
- depreciationMethod
-
setDepreciationMethod
public void setDepreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod) -
averagingMethod
public BookDepreciationSetting averagingMethod(BookDepreciationSetting.AveragingMethodEnum averagingMethod) -
getAveragingMethod
The method of averaging applied to this asset. See Averaging Methods- Returns:
- averagingMethod
-
setAveragingMethod
-
depreciationRate
-
getDepreciationRate
The rate of depreciation (e.g. 0.05)- Returns:
- depreciationRate
-
setDepreciationRate
-
effectiveLifeYears
-
getEffectiveLifeYears
Effective life of the asset in years (e.g. 5)- Returns:
- effectiveLifeYears
-
setEffectiveLifeYears
-
depreciationCalculationMethod
public BookDepreciationSetting depreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod) -
getDepreciationCalculationMethod
See Depreciation Calculation Methods- Returns:
- depreciationCalculationMethod
-
setDepreciationCalculationMethod
public void setDepreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod) -
depreciableObjectId
-
getDepreciableObjectId
Unique Xero identifier for the depreciable object- Returns:
- depreciableObjectId
-
setDepreciableObjectId
-
depreciableObjectType
-
getDepreciableObjectType
The type of asset object- Returns:
- depreciableObjectType
-
setDepreciableObjectType
-
bookEffectiveDateOfChangeId
-
getBookEffectiveDateOfChangeId
Unique Xero identifier for the effective date change- Returns:
- bookEffectiveDateOfChangeId
-
setBookEffectiveDateOfChangeId
-
equals
-
hashCode
public int hashCode() -
toString
-