Updater
Magento\Quote\Model\Quote\Item\Updater
What it does
This class handles updating quote items in the shopping cart, primarily managing quantity changes and custom pricing.
Developers use this when they need to programmatically modify cart items, such as changing quantities or applying custom prices while maintaining data integrity and validating input.
It ensures proper handling of decimal quantities, discount flags, and serialization of buy request options.
Public Methods
- update()