Model
PaymentOrderManagement
Magento\PaymentServicesPaypal\Model\PaymentOrderManagement
What it does
This class manages PayPal payment orders in Magento 2, handling the creation, retrieval, and synchronization of PayPal orders with shopping cart quotes.
Developers use this class when integrating PayPal payment methods to create payment orders from cart data, fetch payment details including card information, and sync PayPal shipping/billing addresses back to the Magento quote during checkout.
Public Methods
- create()
- get()
- sync()