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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetTypeaccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)The account for accumulated depreciation of fixed assets of this typeAssetTypeassetTypeId(UUID assetTypeId)Xero generated unique identifier for asset typesAssetTypeassetTypeName(String assetTypeName)The name of the asset typeAssetTypebookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)bookDepreciationSettingAssetTypedepreciationExpenseAccountId(UUID depreciationExpenseAccountId)The expense account for the depreciation of fixed assets of this typebooleanequals(Object o)AssetTypefixedAssetAccountId(UUID fixedAssetAccountId)The asset account for fixed assets of this typeUUIDgetAccumulatedDepreciationAccountId()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)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 typevoidsetLocks(Integer locks)All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.StringtoString()
-
-
-
Method Detail
-
assetTypeId
public AssetType assetTypeId(UUID assetTypeId)
Xero generated unique identifier for asset types- Parameters:
assetTypeId- UUID- Returns:
- AssetType
-
getAssetTypeId
public UUID getAssetTypeId()
Xero generated unique identifier for asset types- Returns:
- assetTypeId
-
setAssetTypeId
public void setAssetTypeId(UUID assetTypeId)
Xero generated unique identifier for asset types- Parameters:
assetTypeId- UUID
-
assetTypeName
public AssetType assetTypeName(String assetTypeName)
The name of the asset type- Parameters:
assetTypeName- String- Returns:
- AssetType
-
getAssetTypeName
public String getAssetTypeName()
The name of the asset type- Returns:
- assetTypeName
-
setAssetTypeName
public void setAssetTypeName(String assetTypeName)
The name of the asset type- Parameters:
assetTypeName- String
-
fixedAssetAccountId
public AssetType fixedAssetAccountId(UUID fixedAssetAccountId)
The asset account for fixed assets of this type- Parameters:
fixedAssetAccountId- UUID- Returns:
- AssetType
-
getFixedAssetAccountId
public UUID getFixedAssetAccountId()
The asset account for fixed assets of this type- Returns:
- fixedAssetAccountId
-
setFixedAssetAccountId
public void setFixedAssetAccountId(UUID fixedAssetAccountId)
The asset account for fixed assets of this type- Parameters:
fixedAssetAccountId- UUID
-
depreciationExpenseAccountId
public AssetType depreciationExpenseAccountId(UUID depreciationExpenseAccountId)
The expense account for the depreciation of fixed assets of this type- Parameters:
depreciationExpenseAccountId- UUID- Returns:
- AssetType
-
getDepreciationExpenseAccountId
public UUID getDepreciationExpenseAccountId()
The expense account for the depreciation of fixed assets of this type- Returns:
- depreciationExpenseAccountId
-
setDepreciationExpenseAccountId
public void setDepreciationExpenseAccountId(UUID depreciationExpenseAccountId)
The expense account for the depreciation of fixed assets of this type- Parameters:
depreciationExpenseAccountId- UUID
-
accumulatedDepreciationAccountId
public AssetType accumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)
The account for accumulated depreciation of fixed assets of this type- Parameters:
accumulatedDepreciationAccountId- UUID- Returns:
- AssetType
-
getAccumulatedDepreciationAccountId
public UUID getAccumulatedDepreciationAccountId()
The account for accumulated depreciation of fixed assets of this type- Returns:
- accumulatedDepreciationAccountId
-
setAccumulatedDepreciationAccountId
public void setAccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)
The account for accumulated depreciation of fixed assets of this type- Parameters:
accumulatedDepreciationAccountId- UUID
-
bookDepreciationSetting
public AssetType bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)
bookDepreciationSetting- Parameters:
bookDepreciationSetting- BookDepreciationSetting- Returns:
- AssetType
-
getBookDepreciationSetting
public BookDepreciationSetting getBookDepreciationSetting()
Get bookDepreciationSetting- Returns:
- bookDepreciationSetting
-
setBookDepreciationSetting
public void setBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)
bookDepreciationSetting- Parameters:
bookDepreciationSetting- BookDepreciationSetting
-
locks
public AssetType locks(Integer locks)
All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.- Parameters:
locks- Integer- Returns:
- AssetType
-
getLocks
public Integer getLocks()
All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.- Returns:
- locks
-
setLocks
public void setLocks(Integer locks)
All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.- Parameters:
locks- Integer
-
-