<?php
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Aman\AmanAccept\Model;

class AmanPosPaymentMethod extends \Magento\Payment\Model\Method\AbstractMethod
{

	protected $_isInitializeNeeded      = false;
    protected $redirect_uri;
    protected $_code = 'aman_pos';
 	protected $_canOrder = true;
	protected $_isGateway = true;

	public function isActive($storeId = null)
    {
		$path = 'payment/aman_express/active';
        return $this->_scopeConfig->getValue($path, \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $storeId);
    }
}
