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

/**
 * Interceptor class for @see \Ebizmarts\SagePaySuite\Model\PayPalRequestManagement
 */
class Interceptor extends \Ebizmarts\SagePaySuite\Model\PayPalRequestManagement 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\Helper\Checkout $checkoutHelper, \Magento\Checkout\Model\Session $checkoutSession, \Magento\Quote\Api\CartRepositoryInterface $quoteRepository, \Magento\Quote\Model\QuoteIdMaskFactory $quoteIdMaskFactory, \Magento\Framework\UrlInterface $coreUrl, \Ebizmarts\SagePaySuite\Api\Data\ResultInterface $result, \Ebizmarts\SagePaySuite\Model\Api\Post $postApi, \Magento\Framework\Encryption\EncryptorInterface $encryptor, \Magento\Framework\Event\ManagerInterface $eventManager, \Ebizmarts\SagePaySuite\Helper\ValidateRequest $validateRequest)
    {
        $this->___init();
        parent::__construct($config, $suiteHelper, $suiteLogger, $requestHelper, $checkoutHelper, $checkoutSession, $quoteRepository, $quoteIdMaskFactory, $coreUrl, $result, $postApi, $encryptor, $eventManager, $validateRequest);
    }

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

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