Log in
Model

Shipping

Magento\Quote\Model\Shipping

What it does

This class represents shipping information for a quote in Magento 2.

Developers use it to store and retrieve the shipping address and selected shipping method during the checkout process.

It serves as a data transfer object that can be extended with custom attributes for additional shipping-related information.

Public Methods

  • getAddress()
  • setAddress()
  • getMethod()
  • setMethod()
  • getExtensionAttributes()
  • setExtensionAttributes()