Model
PaymentDetails
Magento\Checkout\Model\PaymentDetails
What it does
This model class serves as a data container for payment-related information during the checkout process.
It holds available payment methods and cart totals, typically used when retrieving or updating payment details in the checkout workflow.
Developers use this when working with the checkout API to pass payment information between the frontend and backend.
Public Methods
- getPaymentMethods()
- setPaymentMethods()
- getTotals()
- setTotals()
- getExtensionAttributes()
- setExtensionAttributes()