PaymentInformationManagementInterface
Magento\Checkout\Api\PaymentInformationManagementInterface
What it does
This interface defines the contract for managing payment information during checkout in Magento 2.
Developers use this to save payment details to a cart, optionally set billing addresses, and place orders.
It's primarily used during the checkout process to handle payment method selection and order submission, with methods that either save payment info alone or save and immediately place the order.
Public Methods
- savePaymentInformationAndPlaceOrder()
- savePaymentInformation()
- getPaymentInformation()