<?php
namespace Leanpay\Payment\Block\Installment\Pricing\Render\DefaultPriceBox;

/**
 * Interceptor class for @see \Leanpay\Payment\Block\Installment\Pricing\Render\DefaultPriceBox
 */
class Interceptor extends \Leanpay\Payment\Block\Installment\Pricing\Render\DefaultPriceBox implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Pricing\SaleableInterface $saleableItem, \Magento\Framework\Pricing\Price\PriceInterface $price, \Magento\Framework\Pricing\Render\RendererPool $rendererPool, \Leanpay\Payment\Helper\Data $helper, \Leanpay\Payment\Helper\InstallmentHelper $installmentHelper, \Magento\Framework\Serialize\SerializerInterface $serializer, \Leanpay\Payment\Api\InstallmentProductRepositoryInterface $productRepository, \Magento\Framework\Api\SearchCriteriaBuilderFactory $criteriaBuilderFactory, array $data = [], ?\Magento\Catalog\Model\Product\Pricing\Renderer\SalableResolverInterface $salableResolver = null, ?\Magento\Catalog\Pricing\Price\MinimalPriceCalculatorInterface $minimalPriceCalculator = null)
    {
        $this->___init();
        parent::__construct($storeManager, $context, $saleableItem, $price, $rendererPool, $helper, $installmentHelper, $serializer, $productRepository, $criteriaBuilderFactory, $data, $salableResolver, $minimalPriceCalculator);
    }

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

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

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