Processor
Magento\Sales\Model\Order\Payment\Processor
What it does
This class acts as a facade/processor for handling payment operations in Magento 2 orders.
Developers use it to execute key payment actions like authorization, capture, order placement, and registering capture notifications by delegating to specialized operation classes.
It provides a centralized entry point for processing payments without needing to interact with individual operation handlers directly.
Public Methods
- authorize()
- capture()
- order()
- registerCaptureNotification()