Log in
Model

Item

Magento\Quote\Model\Quote\Address\Item

What it does

This class represents a quote item within a specific shipping/billing address in Magento 2's cart system.

Developers use it when working with multi-address checkouts or when items need to be associated with different shipping addresses, as it links quote items to their respective addresses and handles address-specific pricing, taxes, and shipping calculations.

Public Methods

  • beforeSave()
  • setAddress()
  • getAddress()
  • getQuote()
  • importQuoteItem()
  • getOptionByCode()