| Current Path : /var/www/html/generated/code/Magento/Quote/Model/PaymentMethodManagement/ |
| Current File : /var/www/html/generated/code/Magento/Quote/Model/PaymentMethodManagement/Interceptor.php |
<?php
namespace Magento\Quote\Model\PaymentMethodManagement;
/**
* Interceptor class for @see \Magento\Quote\Model\PaymentMethodManagement
*/
class Interceptor extends \Magento\Quote\Model\PaymentMethodManagement implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;
public function __construct(\Magento\Quote\Api\CartRepositoryInterface $quoteRepository, \Magento\Payment\Model\Checks\ZeroTotal $zeroTotalValidator, \Magento\Payment\Model\MethodList $methodList)
{
$this->___init();
parent::__construct($quoteRepository, $zeroTotalValidator, $methodList);
}
/**
* {@inheritdoc}
*/
public function set($cartId, \Magento\Quote\Api\Data\PaymentInterface $method)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'set');
return $pluginInfo ? $this->___callPlugins('set', func_get_args(), $pluginInfo) : parent::set($cartId, $method);
}
}