public class Asset extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Asset.AssetStatusEnum
See Asset Status Codes.
|
| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
Asset |
accountingBookValue(Integer accountingBookValue) |
Asset |
assetId(UUID assetId) |
Asset |
assetName(String assetName) |
Asset |
assetNumber(String assetNumber) |
Asset |
assetStatus(Asset.AssetStatusEnum assetStatus) |
Asset |
bookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail) |
Asset |
bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
Asset |
canRollBack(Boolean canRollBack) |
Asset |
disposalPrice(Integer disposalPrice) |
boolean |
equals(Object o) |
Integer |
getAccountingBookValue()
The accounting value of the asset
|
UUID |
getAssetId()
The Xero-generated Id for the asset
|
String |
getAssetName()
The name of the asset
|
String |
getAssetNumber()
Must be unique.
|
Asset.AssetStatusEnum |
getAssetStatus()
See Asset Status Codes.
|
BookDepreciationDetail |
getBookDepreciationDetail()
Get bookDepreciationDetail
|
BookDepreciationSetting |
getBookDepreciationSetting()
Get bookDepreciationSetting
|
Boolean |
getCanRollBack()
Boolean to indicate whether depreciation can be rolled back for this asset individually.
|
Integer |
getDisposalPrice()
The price the asset was disposed at
|
org.threeten.bp.LocalDate |
getPurchaseDate()
The date the asset was purchased YYYY-MM-DD
|
Integer |
getPurchasePrice()
The purchase price of the asset
|
String |
getSerialNumber()
The asset's serial number
|
String |
getWarrantyExpiryDate()
The date the asset’s warranty expires (if needed) YYYY-MM-DD
|
int |
hashCode() |
Asset |
purchaseDate(org.threeten.bp.LocalDate purchaseDate) |
Asset |
purchasePrice(Integer purchasePrice) |
Asset |
serialNumber(String serialNumber) |
void |
setAccountingBookValue(Integer accountingBookValue) |
void |
setAssetId(UUID assetId) |
void |
setAssetName(String assetName) |
void |
setAssetNumber(String assetNumber) |
void |
setAssetStatus(Asset.AssetStatusEnum assetStatus) |
void |
setBookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail) |
void |
setBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
void |
setCanRollBack(Boolean canRollBack) |
void |
setDisposalPrice(Integer disposalPrice) |
void |
setPurchaseDate(org.threeten.bp.LocalDate purchaseDate) |
void |
setPurchasePrice(Integer purchasePrice) |
void |
setSerialNumber(String serialNumber) |
void |
setWarrantyExpiryDate(String warrantyExpiryDate) |
String |
toString() |
Asset |
warrantyExpiryDate(String warrantyExpiryDate) |
public UUID getAssetId()
public void setAssetId(UUID assetId)
public String getAssetName()
public void setAssetName(String assetName)
public String getAssetNumber()
public void setAssetNumber(String assetNumber)
public Asset purchaseDate(org.threeten.bp.LocalDate purchaseDate)
public org.threeten.bp.LocalDate getPurchaseDate()
public void setPurchaseDate(org.threeten.bp.LocalDate purchaseDate)
public Integer getPurchasePrice()
public void setPurchasePrice(Integer purchasePrice)
public Integer getDisposalPrice()
public void setDisposalPrice(Integer disposalPrice)
public Asset assetStatus(Asset.AssetStatusEnum assetStatus)
public Asset.AssetStatusEnum getAssetStatus()
public void setAssetStatus(Asset.AssetStatusEnum assetStatus)
public String getWarrantyExpiryDate()
public void setWarrantyExpiryDate(String warrantyExpiryDate)
public String getSerialNumber()
public void setSerialNumber(String serialNumber)
public Asset bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)
public BookDepreciationSetting getBookDepreciationSetting()
public void setBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting)
public Asset bookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail)
public BookDepreciationDetail getBookDepreciationDetail()
public void setBookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail)
public Boolean getCanRollBack()
public void setCanRollBack(Boolean canRollBack)
public Integer getAccountingBookValue()
public void setAccountingBookValue(Integer accountingBookValue)
Copyright © 2018. All rights reserved.