Model
Quote
Magento\Payment\Model\Cart\SalesModel\Quote
What it does
This class wraps a Magento Quote model to provide a standardized interface for payment-related operations.
Developers use it when integrating payment gateways that need to access quote information like items, totals, tax, shipping, and discounts in a consistent format, regardless of whether the quote is virtual or physical.
Public Methods
- getAllItems()
- getBaseSubtotal()
- getBaseTaxAmount()
- getBaseShippingAmount()
- getBaseDiscountAmount()
- getDataUsingMethod()
- getTaxContainer()