Class AssetType


  • public class AssetType
    extends Object
    AssetType
    • Constructor Detail

      • AssetType

        public AssetType()
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object