See also:
canVoid()
\Magento\Sales\Model\Order\Payment::canVoid()
\Magento\Sales\Model\Order\Invoice::canRefund()