Interface
ShippingInformationInterface
Magento\Checkout\Api\Data\ShippingInformationInterface
What it does
This interface defines the contract for shipping information objects used during Magento 2 checkout.
Developers use it when building custom checkout implementations or extensions that need to handle shipping and billing addresses along with shipping method selection.
It's commonly used in checkout steps, shipping method APIs, and order placement workflows.
Public Methods
- getShippingAddress()
- setShippingAddress()
- getBillingAddress()
- setBillingAddress()
- getShippingMethodCode()
- setShippingMethodCode()
- getShippingCarrierCode()
- setShippingCarrierCode()
- getExtensionAttributes()
- setExtensionAttributes()