<?php

declare(strict_types=1);

namespace Mirakl\MCI\Common\Request\Product;

use Mirakl\Core\Request\AbstractImportRequest;
use Mirakl\Core\Response\ResponseDecoratorInterface;
use Mirakl\MCI\Common\Domain\Product\ProductImportResult;

abstract class AbstractProductImportStatusRequest extends AbstractImportRequest
{
    /**
     * @var string
     */
    protected $endpoint = '/products/imports/{import}';

    /**
     * @inheritdoc
     */
    public function getResponseDecorator(): ResponseDecoratorInterface
    {
        return ProductImportResult::decorator();
    }
}
