Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TransactionRefund.php
Go to the documentation of this file.
1 <?php
7 
9 
11 {
17  protected function process(array $data)
18  {
19  $storeId = $data['store_id'] ?? null;
20 
21  return $this->adapterFactory->create($storeId)
22  ->refund($data['transaction_id'], $data[PaymentDataBuilder::AMOUNT]);
23  }
24 }