Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RefundHandler.php
Go to the documentation of this file.
1 <?php
7 
9 
11 {
19  protected function shouldCloseParentTransaction(Payment $orderPayment)
20  {
21  return !(bool)$orderPayment->getCreditmemo()->getInvoice()->canRefund();
22  }
23 }