ShippingInterface
Magento\Quote\Api\Data\ShippingInterface
What it does
This interface defines the contract for shipping data objects in Magento 2's quote system.
Developers use this interface when working with shipping information during the checkout process, allowing them to get and set the shipping address and shipping method for a quote.
It's commonly used in checkout customizations, shipping method integrations, and when programmatically managing cart shipping details.
Public Methods
- getAddress()
- setAddress()
- getMethod()
- setMethod()
- getExtensionAttributes()
- setExtensionAttributes()