How is \Magento\Sales\Model\Order\Payment::update() implemented and used?

See also: