public function getAssetTypeId($accountId)
    {
        $result = null;
        /** @var Entity $entity */
        $entity = $this->getById($accountId);
        if ($entity) {
            $result = $entity->getAssetTypeId();
        }
        return $result;
    }
public function getAssetTypeId($accountId)
    {
        $result = null;
        /** @var Entity $entity */
        $entity = $this->getById($accountId);
        if ($entity) {
            $result = $entity->getAssetTypeId();
        }
        return $result;
    }
public function getAssetTypeId ( $ accountId ) { $ result = null ; /** @var Entity $entity */ $ entity = $ this -> getById ( $ accountId ) ; if ( $ entity ) { $ result = $ entity -> getAssetTypeId ( ) ; } return $ result ; }
Get asset type ID for the given account.

@param int $accountId
@return int
Get asset type ID for the given account .