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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookDepreciationSettingaveragingMethod(BookDepreciationSetting.AveragingMethodEnum averagingMethod)The method of averaging applied to this asset.BookDepreciationSettingbookEffectiveDateOfChangeId(UUID bookEffectiveDateOfChangeId)Unique Xero identifier for the effective date changeBookDepreciationSettingdepreciableObjectId(UUID depreciableObjectId)Unique Xero identifier for the depreciable objectBookDepreciationSettingdepreciableObjectType(String depreciableObjectType)The type of asset objectBookDepreciationSettingdepreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod)See Depreciation Calculation MethodsBookDepreciationSettingdepreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod)The method of depreciation applied to this asset.BookDepreciationSettingdepreciationRate(Double depreciationRate)The rate of depreciation (e.g.BookDepreciationSettingeffectiveLifeYears(Integer effectiveLifeYears)Effective life of the asset in years (e.g.booleanequals(Object o)BookDepreciationSetting.AveragingMethodEnumgetAveragingMethod()The method of averaging applied to this asset.UUIDgetBookEffectiveDateOfChangeId()Unique Xero identifier for the effective date changeUUIDgetDepreciableObjectId()Unique Xero identifier for the depreciable objectStringgetDepreciableObjectType()The type of asset objectBookDepreciationSetting.DepreciationCalculationMethodEnumgetDepreciationCalculationMethod()See Depreciation Calculation MethodsBookDepreciationSetting.DepreciationMethodEnumgetDepreciationMethod()The method of depreciation applied to this asset.DoublegetDepreciationRate()The rate of depreciation (e.g.IntegergetEffectiveLifeYears()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.StringtoString()
-
-
-
Method Detail
-
depreciationMethod
public BookDepreciationSetting depreciationMethod(BookDepreciationSetting.DepreciationMethodEnum depreciationMethod)
The method of depreciation applied to this asset. See Depreciation Methods- Parameters:
depreciationMethod- DepreciationMethodEnum- Returns:
- BookDepreciationSetting
-
getDepreciationMethod
public BookDepreciationSetting.DepreciationMethodEnum 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
public BookDepreciationSetting.AveragingMethodEnum getAveragingMethod()
The method of averaging applied to this asset. See Averaging Methods- Returns:
- averagingMethod
-
setAveragingMethod
public void setAveragingMethod(BookDepreciationSetting.AveragingMethodEnum averagingMethod)
The method of averaging applied to this asset. See Averaging Methods- Parameters:
averagingMethod- AveragingMethodEnum
-
depreciationRate
public BookDepreciationSetting depreciationRate(Double depreciationRate)
The rate of depreciation (e.g. 0.05)- Parameters:
depreciationRate- Double- Returns:
- BookDepreciationSetting
-
getDepreciationRate
public Double getDepreciationRate()
The rate of depreciation (e.g. 0.05)- Returns:
- depreciationRate
-
setDepreciationRate
public void setDepreciationRate(Double depreciationRate)
The rate of depreciation (e.g. 0.05)- Parameters:
depreciationRate- Double
-
effectiveLifeYears
public BookDepreciationSetting effectiveLifeYears(Integer effectiveLifeYears)
Effective life of the asset in years (e.g. 5)- Parameters:
effectiveLifeYears- Integer- Returns:
- BookDepreciationSetting
-
getEffectiveLifeYears
public Integer getEffectiveLifeYears()
Effective life of the asset in years (e.g. 5)- Returns:
- effectiveLifeYears
-
setEffectiveLifeYears
public void setEffectiveLifeYears(Integer effectiveLifeYears)
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
public BookDepreciationSetting.DepreciationCalculationMethodEnum getDepreciationCalculationMethod()
See Depreciation Calculation Methods- Returns:
- depreciationCalculationMethod
-
setDepreciationCalculationMethod
public void setDepreciationCalculationMethod(BookDepreciationSetting.DepreciationCalculationMethodEnum depreciationCalculationMethod)
See Depreciation Calculation Methods- Parameters:
depreciationCalculationMethod- DepreciationCalculationMethodEnum
-
depreciableObjectId
public BookDepreciationSetting depreciableObjectId(UUID depreciableObjectId)
Unique Xero identifier for the depreciable object- Parameters:
depreciableObjectId- UUID- Returns:
- BookDepreciationSetting
-
getDepreciableObjectId
public UUID getDepreciableObjectId()
Unique Xero identifier for the depreciable object- Returns:
- depreciableObjectId
-
setDepreciableObjectId
public void setDepreciableObjectId(UUID depreciableObjectId)
Unique Xero identifier for the depreciable object- Parameters:
depreciableObjectId- UUID
-
depreciableObjectType
public BookDepreciationSetting depreciableObjectType(String depreciableObjectType)
The type of asset object- Parameters:
depreciableObjectType- String- Returns:
- BookDepreciationSetting
-
getDepreciableObjectType
public String getDepreciableObjectType()
The type of asset object- Returns:
- depreciableObjectType
-
setDepreciableObjectType
public void setDepreciableObjectType(String depreciableObjectType)
The type of asset object- Parameters:
depreciableObjectType- String
-
bookEffectiveDateOfChangeId
public BookDepreciationSetting bookEffectiveDateOfChangeId(UUID bookEffectiveDateOfChangeId)
Unique Xero identifier for the effective date change- Parameters:
bookEffectiveDateOfChangeId- UUID- Returns:
- BookDepreciationSetting
-
getBookEffectiveDateOfChangeId
public UUID getBookEffectiveDateOfChangeId()
Unique Xero identifier for the effective date change- Returns:
- bookEffectiveDateOfChangeId
-
setBookEffectiveDateOfChangeId
public void setBookEffectiveDateOfChangeId(UUID bookEffectiveDateOfChangeId)
Unique Xero identifier for the effective date change- Parameters:
bookEffectiveDateOfChangeId- UUID
-
-