Log in
Model

ValidateCustomer

Magento\CompareListGraphQl\Model\Service\Customer\ValidateCustomer

What it does

This class validates customer accounts in GraphQL compare list operations by checking if the customer exists, is not locked, and has confirmed their account.

Developers use this service to ensure only valid, active customers can perform compare list operations through the GraphQL API, preventing unauthorized or incomplete accounts from accessing these features.

Public Methods

  • execute()