Model
SetShippingAddressesOnCart
Magento\QuoteGraphQl\Model\Cart\SetShippingAddressesOnCart
What it does
This model handles setting the shipping address on a shopping cart in GraphQL operations.
Developers use this class when processing GraphQL mutations that set or update shipping addresses, ensuring only one shipping address is allowed per cart, validating the address data, and triggering quote recalculation after the address change.
Public Methods
- execute()