<?php

namespace FiloBlu\Rma\Handlers;

use FiloBlu\Rma\Helper\EasyReturnHelper;
use FiloBlu\Rma\Helper\RmaHelper;
use FiloBlu\Rma\Helper\RmaPoliciesHelper;
use Magento\Rma\Api\Data\RmaInterface;

/**
 *
 */
class RmaPoliciesHandler
{
    /**
     * @var RmaPoliciesHelper
     */
    protected $rmaPoliciesHelper;
    /**
     * @var RmaHelper
     */
    protected $rmaHelper;
    /**
     * @var EasyReturnHelper
     */
    protected $helper;
    /**
     * @var EasyReturnHelper
     */
    protected $easyReturnHelper;

    /**
     * @param RmaPoliciesHelper $rmaPoliciesHelper
     */
    public function __construct(RmaPoliciesHelper $rmaPoliciesHelper)
    {
        $this->rmaPoliciesHelper = $rmaPoliciesHelper;
    }

    /**
     * @throws \Magento\Framework\Exception\NoSuchEntityException
     * @throws \Magento\Framework\Exception\LocalizedException
     */
    public function checkPolicies(RmaInterface $rma)
    {
        $this->rmaPoliciesHelper->check($rma);
    }
}
