<?php
namespace TbiBank\FusionPay\Block\Frontend\ProductModal;

/**
 * Interceptor class for @see \TbiBank\FusionPay\Block\Frontend\ProductModal
 */
class Interceptor extends \TbiBank\FusionPay\Block\Frontend\ProductModal implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\View\Element\Template\Context $context, \TbiBank\FusionPay\Helper\Data $fusionPayHelper, \TbiBank\FusionPay\Helper\ProductHelper $productHelper, array $data = [])
    {
        $this->___init();
        parent::__construct($context, $fusionPayHelper, $productHelper, $data);
    }

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

    /**
     * {@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();
    }
}
