<?php
namespace Magento\Checkout\Model\Sidebar;

/**
 * Interceptor class for @see \Magento\Checkout\Model\Sidebar
 */
class Interceptor extends \Magento\Checkout\Model\Sidebar implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Checkout\Model\Cart $cart, \Magento\Checkout\Helper\Data $helperData, \Magento\Framework\Locale\ResolverInterface $resolver)
    {
        $this->___init();
        parent::__construct($cart, $helperData, $resolver);
    }

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

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

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