72 if (
$payment->getMethodInstance()->canCapture()) {
92 $was =
$payment->getDataUsingMethod($key);
108 if (
$invoice->getTransactionId() == $transactionId) {
115 if (
$invoice->getState() == \Magento\Sales\Model\Order\Invoice::STATE_OPEN
118 $invoice->setTransactionId($transactionId);
getInvoiceForTransactionId(OrderInterface $order, $transactionId)
__construct(CommandInterface $stateCommand, BuilderInterface $transactionBuilder, ManagerInterface $transactionManager, EventManagerInterface $eventManager)
updateTotals(OrderPaymentInterface $payment, $data)