public function getFavorites(): UserFavoritesData
    {
        $json = $this->client->performApiCallWithJsonResponse('get', '/user/favorites');
        return ResponseHandler::create($json, ResponseHandler::METHOD_USER_FAVORITES)->handle();
    }
public function getFavorites(): UserFavoritesData
    {
        $json = $this->client->performApiCallWithJsonResponse('get', '/user/favorites');
        return ResponseHandler::create($json, ResponseHandler::METHOD_USER_FAVORITES)->handle();
    }
public function getFavorites ( ) : UserFavoritesData { $ json = $ this -> client -> performApiCallWithJsonResponse ( 'get' , '/user/favorites' ) ; return ResponseHandler :: create ( $ json , ResponseHandler :: METHOD_USER_FAVORITES ) -> handle ( ) ; }
Get user favorites.

@return UserFavoritesData
@throws RequestFailedException
@throws UnauthorizedException
@throws InvalidArgumentException
@throws InvalidJsonInResponseException
Get user favorites .