Model
SetCustomerToCompareList
Magento\CompareListGraphQl\Model\Service\Customer\SetCustomerToCompareList
What it does
This service class assigns a customer to a compare list in the GraphQL API.
When a logged-in customer wants to claim ownership of an anonymous compare list (like after logging in), this class either associates the list with the customer or merges it with their existing compare list if they already have one.
Public Methods
- execute()