File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
app/code/Magento/Payment/Model/Method Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \Exception \LocalizedException ;
11
11
use Magento \Framework \Exception \NotFoundException ;
12
12
use Magento \Payment \Gateway \Command \CommandPoolInterface ;
13
- use Magento \Payment \Gateway \Config \ValueHandlerPool ;
14
13
use Magento \Payment \Gateway \Config \ValueHandlerPoolInterface ;
15
14
use Magento \Payment \Gateway \Data \PaymentDataObjectFactory ;
16
15
use Magento \Payment \Gateway \Validator \ValidatorPoolInterface ;
@@ -354,22 +353,6 @@ private function getConfiguredValue($field, $storeId = null)
354
353
return $ handler ->handle ($ subject , $ storeId ?: $ this ->getStore ());
355
354
}
356
355
357
- /**
358
- * Return value without applying custom handlers
359
- *
360
- * @param string $field
361
- * @param null $storeId
362
- * @return mixed
363
- */
364
- private function getDefaultConfiguredValue ($ field , $ storeId = null ) {
365
- $ handler = $ this ->valueHandlerPool ->get (ValueHandlerPool::DEFAULT_HANDLER );
366
- $ subject = [
367
- 'field ' => $ field
368
- ];
369
-
370
- return $ handler ->handle ($ subject , $ storeId ?: $ this ->getStore ());
371
- }
372
-
373
356
/**
374
357
* {inheritdoc}
375
358
*/
@@ -378,18 +361,6 @@ public function getConfigData($field, $storeId = null)
378
361
return $ this ->getConfiguredValue ($ field , $ storeId );
379
362
}
380
363
381
- /**
382
- * Retrieve default information from payment configuration
383
- *
384
- * @param string $field
385
- * @param int|string|null|\Magento\Store\Model\Store $storeId
386
- *
387
- * @return mixed
388
- */
389
- public function getDefaultConfigData ($ field , $ storeId = null ) {
390
- return $ this ->getDefaultConfiguredValue ($ field , $ storeId );
391
- }
392
-
393
364
/**
394
365
* {inheritdoc}
395
366
*/
You can’t perform that action at this time.
0 commit comments