Package com.xero.models.assets
Class AssetType
java.lang.Object
com.xero.models.assets.AssetType
public class AssetType extends Object
AssetType
-
Constructor Summary
Constructors Constructor Description AssetType() -
Method Summary
Modifier and Type Method Description AssetTypeaccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)AssetTypeassetTypeId(UUID assetTypeId)AssetTypeassetTypeName(String assetTypeName)AssetTypebookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)AssetTypedepreciationExpenseAccountId(UUID depreciationExpenseAccountId)booleanequals(Object o)AssetTypefixedAssetAccountId(UUID fixedAssetAccountId)UUIDgetAccumulatedDepreciationAccountId()The account for accumulated depreciation of fixed assets of this typeUUIDgetAssetTypeId()Xero generated unique identifier for asset typesStringgetAssetTypeName()The name of the asset typeBookDepreciationSettinggetBookDepreciationSetting()Get bookDepreciationSettingUUIDgetDepreciationExpenseAccountId()The expense account for the depreciation of fixed assets of this typeUUIDgetFixedAssetAccountId()The asset account for fixed assets of this typeIntegergetLocks()All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.inthashCode()AssetTypelocks(Integer locks)voidsetAccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)voidsetAssetTypeId(UUID assetTypeId)voidsetAssetTypeName(String assetTypeName)voidsetBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)voidsetDepreciationExpenseAccountId(UUID depreciationExpenseAccountId)voidsetFixedAssetAccountId(UUID fixedAssetAccountId)voidsetLocks(Integer locks)StringtoString()
-
Constructor Details
-
AssetType
public AssetType()
-
-
Method Details
-
assetTypeId
-
getAssetTypeId
Xero generated unique identifier for asset types- Returns:
- assetTypeId
-
setAssetTypeId
-
assetTypeName
-
getAssetTypeName
The name of the asset type- Returns:
- assetTypeName
-
setAssetTypeName
-
fixedAssetAccountId
-
getFixedAssetAccountId
The asset account for fixed assets of this type- Returns:
- fixedAssetAccountId
-
setFixedAssetAccountId
-
depreciationExpenseAccountId
-
getDepreciationExpenseAccountId
The expense account for the depreciation of fixed assets of this type- Returns:
- depreciationExpenseAccountId
-
setDepreciationExpenseAccountId
-
accumulatedDepreciationAccountId
-
getAccumulatedDepreciationAccountId
The account for accumulated depreciation of fixed assets of this type- Returns:
- accumulatedDepreciationAccountId
-
setAccumulatedDepreciationAccountId
-
bookDepreciationSetting
-
getBookDepreciationSetting
Get bookDepreciationSetting- Returns:
- bookDepreciationSetting
-
setBookDepreciationSetting
-
locks
-
getLocks
All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.- Returns:
- locks
-
setLocks
-
equals
-
hashCode
public int hashCode() -
toString
-