public class Asset extends Object
| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
Asset |
accountingBookValue(Double accountingBookValue) |
Asset |
assetId(UUID assetId) |
Asset |
assetName(String assetName) |
Asset |
assetNumber(String assetNumber) |
Asset |
assetStatus(AssetStatus assetStatus) |
Asset |
assetTypeId(UUID assetTypeId) |
Asset |
bookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail) |
Asset |
bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
Asset |
canRollback(Boolean canRollback) |
Asset |
disposalPrice(Double disposalPrice) |
boolean |
equals(Object o) |
Double |
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.
|
AssetStatus |
getAssetStatus()
Get assetStatus
|
UUID |
getAssetTypeId()
The Xero-generated Id for the asset type
|
BookDepreciationDetail |
getBookDepreciationDetail()
Get bookDepreciationDetail
|
BookDepreciationSetting |
getBookDepreciationSetting()
Get bookDepreciationSetting
|
Boolean |
getCanRollback()
Boolean to indicate whether depreciation can be rolled back for this asset individually.
|
Double |
getDisposalPrice()
The price the asset was disposed at
|
Boolean |
getIsDeleteEnabledForDate()
Boolean to indicate whether delete is enabled
|
org.threeten.bp.LocalDate |
getPurchaseDate()
The date the asset was purchased YYYY-MM-DD
|
Double |
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 |
isDeleteEnabledForDate(Boolean isDeleteEnabledForDate) |
Asset |
purchaseDate(org.threeten.bp.LocalDate purchaseDate) |
Asset |
purchasePrice(Double purchasePrice) |
Asset |
serialNumber(String serialNumber) |
void |
setAccountingBookValue(Double accountingBookValue) |
void |
setAssetId(UUID assetId) |
void |
setAssetName(String assetName) |
void |
setAssetNumber(String assetNumber) |
void |
setAssetStatus(AssetStatus assetStatus) |
void |
setAssetTypeId(UUID assetTypeId) |
void |
setBookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail) |
void |
setBookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
void |
setCanRollback(Boolean canRollback) |
void |
setDisposalPrice(Double disposalPrice) |
void |
setIsDeleteEnabledForDate(Boolean isDeleteEnabledForDate) |
void |
setPurchaseDate(org.threeten.bp.LocalDate purchaseDate) |
void |
setPurchasePrice(Double 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 UUID getAssetTypeId()
public void setAssetTypeId(UUID assetTypeId)
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 Double getPurchasePrice()
public void setPurchasePrice(Double purchasePrice)
public Double getDisposalPrice()
public void setDisposalPrice(Double disposalPrice)
public Asset assetStatus(AssetStatus assetStatus)
public AssetStatus getAssetStatus()
public void setAssetStatus(AssetStatus 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 Double getAccountingBookValue()
public void setAccountingBookValue(Double accountingBookValue)
public Boolean getIsDeleteEnabledForDate()
public void setIsDeleteEnabledForDate(Boolean isDeleteEnabledForDate)
Copyright © 2020. All rights reserved.