Package com.xero.models.assets
Class BookDepreciationSetting
java.lang.Object
com.xero.models.assets.BookDepreciationSetting
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe method of averaging applied to this asset.static enumSee Depreciation Calculation Methodsstatic enumThe method of depreciation applied to this asset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaveragingMethod(BookDepreciationSetting.AveragingMethodEnum averagingMethod) The method of averaging applied to this asset.bookEffectiveDateOfChangeId(UUID bookEffectiveDateOfChangeId) Unique Xero identifier for the effective date changedepreciableObjectId(UUID depreciableObjectId) Unique Xero identifier for the depreciable objectdepreciableObjectType(String depreciableObjectType) The type of asset objectdepreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod) See Depreciation Calculation MethodsdepreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod) The method of depreciation applied to this asset.depreciationRate(Double depreciationRate) The rate of depreciation (e.g.effectiveLifeYears(Integer effectiveLifeYears) Effective life of the asset in years (e.g.booleanThe method of averaging applied to this asset.Unique Xero identifier for the effective date changeUnique Xero identifier for the depreciable objectThe type of asset objectSee Depreciation Calculation MethodsThe method of depreciation applied to this asset.The rate of depreciation (e.g.Effective life of the asset in years (e.g.inthashCode()voidsetAveragingMethod(BookDepreciationSetting.AveragingMethodEnum averagingMethod) The method of averaging applied to this asset.voidsetBookEffectiveDateOfChangeId(UUID bookEffectiveDateOfChangeId) Unique Xero identifier for the effective date changevoidsetDepreciableObjectId(UUID depreciableObjectId) Unique Xero identifier for the depreciable objectvoidsetDepreciableObjectType(String depreciableObjectType) The type of asset objectvoidsetDepreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod) See Depreciation Calculation MethodsvoidsetDepreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod) The method of depreciation applied to this asset.voidsetDepreciationRate(Double depreciationRate) The rate of depreciation (e.g.voidsetEffectiveLifeYears(Integer effectiveLifeYears) Effective life of the asset in years (e.g.toString()
-
Constructor Details
-
BookDepreciationSetting
public BookDepreciationSetting()
-
-
Method Details
-
depreciationMethod
public BookDepreciationSetting depreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod) The method of depreciation applied to this asset. See Depreciation Methods- Parameters:
depreciationMethod- DepreciationMethodEnum- Returns:
- BookDepreciationSetting
-
getDepreciationMethod
The method of depreciation applied to this asset. See Depreciation Methods- Returns:
- depreciationMethod
-
setDepreciationMethod
public void setDepreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod) The method of depreciation applied to this asset. See Depreciation Methods- Parameters:
depreciationMethod- DepreciationMethodEnum
-
averagingMethod
public BookDepreciationSetting averagingMethod(BookDepreciationSetting.AveragingMethodEnum averagingMethod) The method of averaging applied to this asset. See Averaging Methods- Parameters:
averagingMethod- AveragingMethodEnum- Returns:
- BookDepreciationSetting
-
getAveragingMethod
The method of averaging applied to this asset. See Averaging Methods- Returns:
- averagingMethod
-
setAveragingMethod
The method of averaging applied to this asset. See Averaging Methods- Parameters:
averagingMethod- AveragingMethodEnum
-
depreciationRate
The rate of depreciation (e.g. 0.05)- Parameters:
depreciationRate- Double- Returns:
- BookDepreciationSetting
-
getDepreciationRate
-
setDepreciationRate
The rate of depreciation (e.g. 0.05)- Parameters:
depreciationRate- Double
-
effectiveLifeYears
Effective life of the asset in years (e.g. 5)- Parameters:
effectiveLifeYears- Integer- Returns:
- BookDepreciationSetting
-
getEffectiveLifeYears
Effective life of the asset in years (e.g. 5)- Returns:
- effectiveLifeYears
-
setEffectiveLifeYears
Effective life of the asset in years (e.g. 5)- Parameters:
effectiveLifeYears- Integer
-
depreciationCalculationMethod
public BookDepreciationSetting depreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod) See Depreciation Calculation Methods- Parameters:
depreciationCalculationMethod- DepreciationCalculationMethodEnum- Returns:
- BookDepreciationSetting
-
getDepreciationCalculationMethod
See Depreciation Calculation Methods- Returns:
- depreciationCalculationMethod
-
setDepreciationCalculationMethod
public void setDepreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod) See Depreciation Calculation Methods- Parameters:
depreciationCalculationMethod- DepreciationCalculationMethodEnum
-
depreciableObjectId
Unique Xero identifier for the depreciable object- Parameters:
depreciableObjectId- UUID- Returns:
- BookDepreciationSetting
-
getDepreciableObjectId
Unique Xero identifier for the depreciable object- Returns:
- depreciableObjectId
-
setDepreciableObjectId
Unique Xero identifier for the depreciable object- Parameters:
depreciableObjectId- UUID
-
depreciableObjectType
The type of asset object- Parameters:
depreciableObjectType- String- Returns:
- BookDepreciationSetting
-
getDepreciableObjectType
-
setDepreciableObjectType
The type of asset object- Parameters:
depreciableObjectType- String
-
bookEffectiveDateOfChangeId
Unique Xero identifier for the effective date change- Parameters:
bookEffectiveDateOfChangeId- UUID- Returns:
- BookDepreciationSetting
-
getBookEffectiveDateOfChangeId
Unique Xero identifier for the effective date change- Returns:
- bookEffectiveDateOfChangeId
-
setBookEffectiveDateOfChangeId
Unique Xero identifier for the effective date change- Parameters:
bookEffectiveDateOfChangeId- UUID
-
equals
-
hashCode
-
toString
-