Details: How is \Magento\Sales\Model\Order\Payment::addTransaction() implemented and used?
\Magento\Sales\Model\Order\Payment::addTransaction()
See also:
canCapture()
canCapturePartial()
canRefund()
canRefundPartialPerInvoice()
canVoid()
canUseInternal()
canUseCheckout()
canEdit()
canFetchTransactionInfo()
fetchTransactionInfo()
isGateway()
isOffline()
isInitializeNeeded()
canUseForCountry()
canUseForCurrency()
getInfoBlockType()
getFormBlockType()
getTitle()
setStore()
getStore()
getInfoInstance()
setInfoInstance()
validate()
order()
authorize()
capture()
refund()
cancel()
void()
canReviewPayment()
acceptPayment()
denyPayment()
getConfigData()
assignData()
isAvailable()
initialize()
getConfigPaymentAction()