We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit f7c33631 authored by rikterbeek's avatar rikterbeek

#37 cleanup paymentRequest

parent 2cb0ca4a
......@@ -27,15 +27,6 @@ use Magento\Framework\DataObject;
class PaymentRequest extends DataObject
{
/**
* @var \Magento\Framework\App\Config\ScopeConfigInterface
*/
protected $_scopeConfig;
/**
* @var \Psr\Log\LoggerInterface
*/
protected $_logger;
/**
* @var \Magento\Framework\Encryption\EncryptorInterface
......@@ -80,16 +71,12 @@ class PaymentRequest extends DataObject
*/
public function __construct(
\Magento\Framework\Model\Context $context,
\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig,
\Psr\Log\LoggerInterface $logger,
\Magento\Framework\Encryption\EncryptorInterface $encryptor,
\Adyen\Payment\Helper\Data $adyenHelper,
\Adyen\Payment\Logger\AdyenLogger $adyenLogger,
\Adyen\Payment\Model\RecurringType $recurringType,
array $data = []
) {
$this->_scopeConfig = $scopeConfig;
$this->_logger = $logger;
$this->_encryptor = $encryptor;
$this->_adyenHelper = $adyenHelper;
$this->_adyenLogger = $adyenLogger;
......@@ -115,7 +102,6 @@ class PaymentRequest extends DataObject
$client->setLogger($adyenLogger);
$this->_client = $client;
}
public function fullApiRequest($payment, $paymentMethodCode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment