private function getEligibleProducts(string $type, string $entityId): array
    {
        $products = [];
        foreach ($this->getRawList($this->client->getUriFactory()->createUri("/mint/organizations/{$this->organization}/{$type}/{$entityId}/eligible-products")) as $item) {
            /** @var \Apigee\Edge\Api\Monetization\Entity\ApiProductInterface $product */
            $product = $this->entitySerializer->denormalize($item, $this->getEntityClass());
            $products[$product->id()] = $product;
        }

        return $products;
    }