Interface
SalesModelInterface
Magento\Payment\Model\Cart\SalesModel\SalesModelInterface
What it does
This interface defines a standard contract for accessing sales-related data (like quotes or orders) in payment processing contexts.
Developers implement this interface to create wrapper classes that provide a unified way to retrieve monetary values, items, and tax information from different sales entities when processing payments, regardless of whether working with a quote or an order.
Public Methods
- getAllItems()
- getBaseSubtotal()
- getBaseTaxAmount()
- getBaseShippingAmount()
- getBaseDiscountAmount()
- getDataUsingMethod()
- getTaxContainer()