Details How does \Magento\Sales\Model\Order\Payment::_void() work?
\Magento\Sales\Model\Order\Payment::_void()
See also:
\Magento\Sales\Model\Order\Payment::getAuthorizationTransaction()
void()
canVoid()
\Magento\Sales\Model\Order\Payment::canVoid()
\Magento\Sales\Model\Order\Creditmemo::canVoid()
\Magento\Sales\Model\Order\Invoice::canVoid()