<?php
namespace MageWorx\ShippingRules\Model\Validator;

/**
 * Interceptor class for @see \MageWorx\ShippingRules\Model\Validator
 */
class Interceptor extends \MageWorx\ShippingRules\Model\Validator implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \MageWorx\ShippingRules\Model\ResourceModel\Rule\CollectionFactory $collectionFactory, \MageWorx\ShippingRules\Model\Utility $utility, \MageWorx\ShippingRules\Api\QuoteSessionManagerInterface $quoteSessionManager, \Magento\SalesRule\Model\Rule\Condition\Product $productCondition, \Magento\Quote\Model\QuoteRepository $quoteRepository, \Magento\Framework\App\Request\Http $request, \Magento\Webapi\Controller\Rest\InputParamsResolver $inputParamsResolver, ?\Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, ?\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
    {
        $this->___init();
        parent::__construct($context, $registry, $collectionFactory, $utility, $quoteSessionManager, $productCondition, $quoteRepository, $request, $inputParamsResolver, $resource, $resourceCollection, $data);
    }

    /**
     * {@inheritdoc}
     */
    public function validate($rate)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'validate');
        return $pluginInfo ? $this->___callPlugins('validate', func_get_args(), $pluginInfo) : parent::validate($rate);
    }
}
