Log in
Model

ShippingAssignmentProcessor

Magento\Quote\Model\Quote\ShippingAssignment\ShippingAssignmentProcessor

What it does

This class manages the creation and persistence of shipping assignments for quotes (shopping carts).

Developers use it to create shipping assignment objects that link cart items with shipping addresses and methods, and to save those assignments while handling cart items and validating customer addresses.

It's primarily used during checkout when customers select shipping options or when programmatically managing quote shipping data.

Public Methods

  • create()
  • save()