Package com.xero.models.assets
Class AssetType
java.lang.Object
com.xero.models.assets.AssetType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId) The account for accumulated depreciation of fixed assets of this typeassetTypeId(UUID assetTypeId) Xero generated unique identifier for asset typesassetTypeName(String assetTypeName) The name of the asset typebookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) bookDepreciationSettingdepreciationExpenseAccountId(UUID depreciationExpenseAccountId) The expense account for the depreciation of fixed assets of this typebooleanfixedAssetAccountId(UUID fixedAssetAccountId) The asset account for fixed assets of this typeThe account for accumulated depreciation of fixed assets of this typeXero generated unique identifier for asset typesThe name of the asset typeGet bookDepreciationSettingThe expense account for the depreciation of fixed assets of this typeThe asset account for fixed assets of this typegetLocks()All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.inthashCode()All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.voidsetAccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId) The account for accumulated depreciation of fixed assets of this typevoidsetAssetTypeId(UUID assetTypeId) Xero generated unique identifier for asset typesvoidsetAssetTypeName(String assetTypeName) The name of the asset typevoidsetBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) bookDepreciationSettingvoidsetDepreciationExpenseAccountId(UUID depreciationExpenseAccountId) The expense account for the depreciation of fixed assets of this typevoidsetFixedAssetAccountId(UUID fixedAssetAccountId) The asset account for fixed assets of this typevoidAll asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.toString()
-
Constructor Details
-
AssetType
public AssetType()
-
-
Method Details
-
assetTypeId
-
getAssetTypeId
-
setAssetTypeId
Xero generated unique identifier for asset types- Parameters:
assetTypeId- UUID
-
assetTypeName
-
getAssetTypeName
-
setAssetTypeName
The name of the asset type- Parameters:
assetTypeName- String
-
fixedAssetAccountId
-
getFixedAssetAccountId
The asset account for fixed assets of this type- Returns:
- fixedAssetAccountId
-
setFixedAssetAccountId
The asset account for fixed assets of this type- Parameters:
fixedAssetAccountId- UUID
-
depreciationExpenseAccountId
-
getDepreciationExpenseAccountId
The expense account for the depreciation of fixed assets of this type- Returns:
- depreciationExpenseAccountId
-
setDepreciationExpenseAccountId
The expense account for the depreciation of fixed assets of this type- Parameters:
depreciationExpenseAccountId- UUID
-
accumulatedDepreciationAccountId
-
getAccumulatedDepreciationAccountId
The account for accumulated depreciation of fixed assets of this type- Returns:
- accumulatedDepreciationAccountId
-
setAccumulatedDepreciationAccountId
The account for accumulated depreciation of fixed assets of this type- Parameters:
accumulatedDepreciationAccountId- UUID
-
bookDepreciationSetting
bookDepreciationSetting- Parameters:
bookDepreciationSetting- BookDepreciationSetting- Returns:
- AssetType
-
getBookDepreciationSetting
Get bookDepreciationSetting- Returns:
- bookDepreciationSetting
-
setBookDepreciationSetting
bookDepreciationSetting- Parameters:
bookDepreciationSetting- BookDepreciationSetting
-
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
All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.- Parameters:
locks- Integer
-
equals
-
hashCode
-
toString
-