| Package | Description |
|---|---|
| com.xero.api.client | |
| com.xero.models.assets |
| Modifier and Type | Method and Description |
|---|---|
Asset |
AssetApi.createAsset(String accessToken,
String xeroTenantId,
Asset asset)
adds a fixed asset
Adds an asset to the system
|
Asset |
AssetApi.getAssetById(String accessToken,
String xeroTenantId,
UUID id)
retrieves fixed asset by id
By passing in the appropriate asset id, you can search for a specific fixed asset in the system
|
| Modifier and Type | Method and Description |
|---|---|
Asset |
AssetApi.createAsset(String accessToken,
String xeroTenantId,
Asset asset)
adds a fixed asset
Adds an asset to the system
|
com.google.api.client.http.HttpResponse |
AssetApi.createAssetForHttpResponse(String accessToken,
String xeroTenantId,
Asset asset) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
Asset.accountingBookValue(Double accountingBookValue) |
Asset |
Asset.assetId(UUID assetId) |
Asset |
Asset.assetName(String assetName) |
Asset |
Asset.assetNumber(String assetNumber) |
Asset |
Asset.assetStatus(AssetStatus assetStatus) |
Asset |
Asset.assetTypeId(UUID assetTypeId) |
Asset |
Asset.bookDepreciationDetail(BookDepreciationDetail bookDepreciationDetail) |
Asset |
Asset.bookDepreciationSetting(BookDepreciationSetting bookDepreciationSetting) |
Asset |
Asset.canRollback(Boolean canRollback) |
Asset |
Asset.disposalPrice(Double disposalPrice) |
Asset |
Asset.isDeleteEnabledForDate(Boolean isDeleteEnabledForDate) |
Asset |
Asset.purchaseDate(org.threeten.bp.LocalDate purchaseDate) |
Asset |
Asset.purchasePrice(Double purchasePrice) |
Asset |
Asset.serialNumber(String serialNumber) |
Asset |
Asset.warrantyExpiryDate(String warrantyExpiryDate) |
| Modifier and Type | Method and Description |
|---|---|
List<Asset> |
Assets.getItems()
Get items
|
| Modifier and Type | Method and Description |
|---|---|
Assets |
Assets.addItemsItem(Asset itemsItem) |
| Modifier and Type | Method and Description |
|---|---|
Assets |
Assets.items(List<Asset> items) |
void |
Assets.setItems(List<Asset> items) |
Copyright © 2020. All rights reserved.