Log in
Model

ShippingAssignmentProcessor

Magento\Quote\Model\Quote\ShippingAssignment\ShippingAssignmentProcessor

What it does

This class manages the creation and persistence of shipping assignments in Magento 2 quotes.

Developers use it when they need to handle the relationship between quote items and shipping addresses, particularly during checkout processes or when programmatically updating quote shipping information.

It coordinates saving cart items and shipping details while validating customer address references.

Public Methods

  • create()
  • save()