ShippingAssignmentPersister
Magento\Quote\Model\Quote\ShippingAssignment\ShippingAssignmentPersister
What it does
This class is responsible for persisting shipping assignment data to a quote (shopping cart) in Magento 2.
Developers use this class when they need to save shipping information, including shipping address and method, to an active quote during checkout or cart operations.
It acts as a gateway that ensures shipping assignments are only saved for active quotes.
Public Methods
- save()