Interface
PaymentDetailsInterface
Magento\Checkout\Api\Data\PaymentDetailsInterface
What it does
This interface defines the contract for payment details data structure during checkout, containing available payment methods and cart totals.
Developers use this when working with checkout APIs to retrieve or manipulate payment information, such as displaying payment options to customers or calculating order totals before payment processing.
Public Methods
- getPaymentMethods()
- setPaymentMethods()
- getTotals()
- setTotals()
- getExtensionAttributes()
- setExtensionAttributes()