<?php
namespace Ebizmarts\SagePaySuite\Controller\Pi\Success;

/**
 * Interceptor class for @see \Ebizmarts\SagePaySuite\Controller\Pi\Success
 */
class Interceptor extends \Ebizmarts\SagePaySuite\Controller\Pi\Success implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Checkout\Model\Type\Onepage $onepage, \Ebizmarts\SagePaySuite\Model\Config $config, \Ebizmarts\SagePaySuite\Model\ObjectLoader\OrderLoader $orderLoader, \Ebizmarts\SagePaySuite\Model\CryptAndCodeData $cryptAndCode, \Magento\Framework\App\RequestInterface $request, \Magento\Framework\App\ResponseInterface $response, \Magento\Framework\App\Response\RedirectInterface $redirect)
    {
        $this->___init();
        parent::__construct($onepage, $config, $orderLoader, $cryptAndCode, $request, $response, $redirect);
    }

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