public class AssetType extends Object
| Constructor and Description |
|---|
AssetType() |
| Modifier and Type | Method and Description |
|---|---|
AssetType |
accumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId) |
AssetType |
assetTypeId(UUID assetTypeId) |
AssetType |
assetTypeName(String assetTypeName) |
AssetType |
bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
AssetType |
depreciationExpenseAccountId(UUID depreciationExpenseAccountId) |
boolean |
equals(Object o) |
AssetType |
fixedAssetAccountId(UUID fixedAssetAccountId) |
UUID |
getAccumulatedDepreciationAccountId()
The account for accumulated depreciation of fixed assets of this type
|
UUID |
getAssetTypeId()
Xero generated unique identifier for asset types
|
String |
getAssetTypeName()
The name of the asset type
|
BookDepreciationSetting |
getBookDepreciationSetting()
Get bookDepreciationSetting
|
UUID |
getDepreciationExpenseAccountId()
The expense account for the depreciation of fixed assets of this type
|
UUID |
getFixedAssetAccountId()
The asset account for fixed assets of this type
|
Integer |
getLocks()
All asset types that have accumulated depreciation for any assets that use them are deemed ‘locked’ and cannot be removed.
|
int |
hashCode() |
AssetType |
locks(Integer locks) |
void |
setAccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId) |
void |
setAssetTypeId(UUID assetTypeId) |
void |
setAssetTypeName(String assetTypeName) |
void |
setBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
void |
setDepreciationExpenseAccountId(UUID depreciationExpenseAccountId) |
void |
setFixedAssetAccountId(UUID fixedAssetAccountId) |
void |
setLocks(Integer locks) |
String |
toString() |
public UUID getAssetTypeId()
public void setAssetTypeId(UUID assetTypeId)
public String getAssetTypeName()
public void setAssetTypeName(String assetTypeName)
public UUID getFixedAssetAccountId()
public void setFixedAssetAccountId(UUID fixedAssetAccountId)
public AssetType depreciationExpenseAccountId(UUID depreciationExpenseAccountId)
public UUID getDepreciationExpenseAccountId()
public void setDepreciationExpenseAccountId(UUID depreciationExpenseAccountId)
public AssetType accumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)
public UUID getAccumulatedDepreciationAccountId()
public void setAccumulatedDepreciationAccountId(UUID accumulatedDepreciationAccountId)
public AssetType bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)
public BookDepreciationSetting getBookDepreciationSetting()
public void setBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)
public Integer getLocks()
public void setLocks(Integer locks)
Copyright © 2019. All rights reserved.