See also:
- How is
\Magento\Sales\Model\Order\Payment\State\CaptureCommand::execute()implemented and used? - How is
\Magento\Sales\Model\Order\Payment\State\OrderCommand::execute()implemented and used? - How is
\Magento\Sales\Model\Order\Payment\State\RegisterCaptureNotificationCommand::execute()implemented and used?