<?php
namespace Ebizmarts\SagePaySuite\Model\FormRequestManagement;

/**
 * Interceptor class for @see \Ebizmarts\SagePaySuite\Model\FormRequestManagement
 */
class Interceptor extends \Ebizmarts\SagePaySuite\Model\FormRequestManagement implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Ebizmarts\SagePaySuite\Model\Config $config, \Ebizmarts\SagePaySuite\Helper\Data $suiteHelper, \Ebizmarts\SagePaySuiteLogger\Model\Logger\Logger $suiteLogger, \Ebizmarts\SagePaySuite\Helper\Request $requestHelper, \Ebizmarts\SagePaySuite\Api\Data\FormResultInterface $result, \Ebizmarts\SagePaySuite\Helper\Checkout $checkoutHelper, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Customer\Model\Session $customerSession, \Magento\Quote\Api\CartRepositoryInterface $quoteRepository, \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory, \Magento\Framework\UrlInterface $coreUrl, \Ebizmarts\SagePaySuiteFormCrypt\Model\FormCrypt $formCrypt, \Magento\Framework\Encryption\EncryptorInterface $encryptor, \Magento\Framework\Event\ManagerInterface $eventManager, \Ebizmarts\SagePaySuite\Model\RecoverCart $recoverCart, \Ebizmarts\SagePaySuite\Helper\ValidateRequest $validateRequest)
    {
        $this->___init();
        parent::__construct($config, $suiteHelper, $suiteLogger, $requestHelper, $result, $checkoutHelper, $checkoutSession, $customerSession, $quoteRepository, $quoteIdMaskFactory, $coreUrl, $formCrypt, $encryptor, $eventManager, $recoverCart, $validateRequest);
    }

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