Log in

Customer Module

AccountConfirmation

Model

This class determines whether email confirmation is required for customer account creation or when a customer changes their email address. Developers...

AccountManagement

Model

This class manages all customer account operations in Magento 2, including account creation, authentication, password management, and email confirmati...

AccountManagementApi

Model

This class provides API-specific customer account creation functionality for external API consumers (like REST/SOAP integrations). It extends the base...

AccountManagement\Authenticate

Model

This class handles customer authentication in Magento 2 by validating email and password credentials. Developers use this when implementing custom log...

Account\Redirect

Model

This class manages customer redirect logic after login, registration, or logout actions in Magento 2. It determines where to send customers based on t...

Address

Model

This model represents a customer address entity in Magento 2, handling storage and retrieval of customer billing and shipping addresses. Developers us...

Address

Helper

This helper class provides utilities for working with customer addresses in Magento 2, including address formatting, validation, and configuration man...

AddressRegistry

Model

AddressRegistry is a registry pattern implementation that caches and manages customer address model instances during a request lifecycle. Developers u...

AddressSearchResults

Model

This class serves as a container for customer address search results returned by repository search operations. Developers use this when querying custo...

Address\AbstractAddress

Model

AbstractAddress is the base model class for customer addresses in Magento 2, handling address data management including street lines, regions, countri...

Address\AbstractAddress\CountryModelsCache

Model

This class provides a temporary cache for storing and retrieving Country model objects during customer address operations. Developers use it to avoid...

Address\AbstractAddress\RegionModelsCache

Model

This class provides a simple in-memory cache for storing and retrieving Directory Region model objects. Developers use it to avoid repeatedly loading...

Address\CompositeValidator

Model

This class implements the Composite design pattern to validate customer addresses by aggregating multiple validators. Developers use this when they ne...

Address\Config

Model

This class manages customer address formatting configurations in Magento 2. Developers use it to retrieve and apply different address display formats...

Address\Config\Converter

Model

This converter class transforms XML configuration for customer address formats into a PHP array structure that Magento can use internally. Developers...

Address\Config\Reader

Model

This class loads and reads customer address format configurations from address_formats.xml files across Magento modules. Developers would use this to...

Address\Config\SchemaLocator

Model

This class locates the XSD schema file used to validate customer address format configuration XML files in Magento 2. Developers would interact with t...

Address\CustomAttributeList

Model

This class provides a list of custom attributes for customer addresses. Developers can extend or plugin this class to add custom address attributes be...

Address\CustomAttributesProcessor

Model

This class processes custom attributes for customer addresses by filtering out attributes that shouldn't be visible on the storefront and converting a...

Address\CustomerAddressDataFormatter

Model

This class formats customer address data from AddressInterface objects into a standardized array structure for display or processing. Developers use i...

Address\CustomerAddressDataProvider

Model

This class retrieves and formats address data for a given customer, with optional filtering based on allowed countries and address limits. Developers...

Address\DataProvider

Model

This data provider class supplies customer address data to the admin UI grid and forms for managing customer addresses. Developers would extend or mod...

Address\Form

Model

This class handles form operations for customer addresses in Magento 2, extending the base Customer Form model. Developers use this to validate, filte...

Address\Mapper

Model

This class converts Magento Customer Address data objects (AddressInterface) into flat associative arrays. Developers use this when they need to trans...

Address\Validator\Country

Model

This validator class ensures customer addresses have valid country and region data. Developers use it to validate that a customer address includes a r...

Address\Validator\Customer

Model

This validator ensures that a customer address belongs to the correct customer by verifying the customer ID matches the original address owner. Develo...

Address\Validator\General

Model

This validator class validates customer address data by checking both required fields (firstname, lastname, street, city) and conditionally required f...

Address\Validator\Postcode

Model

This validator class checks if a postcode (zip code) is valid for a customer address based on the country. It validates that either the country makes...

Api\AccountDelegationInterface

Interface

This interface defines a contract for delegating customer account creation actions from external modules. Developers use this to redirect users to a c...

Api\AccountManagementInterface

Interface

This interface defines the contract for managing customer account operations in Magento 2. Developers use this to perform operations like creating cus...

Api\AddressMetadataInterface

Interface

This interface defines constants for working with customer address attribute metadata in Magento 2. Developers use it to retrieve information about cu...

Api\AddressMetadataManagementInterface

Interface

This interface defines the contract for managing metadata of customer address attributes in Magento 2. Developers use this interface to work with cust...

Api\AddressRepositoryInterface

Repository

This interface defines the contract for managing customer address data in Magento 2. Developers use this repository to perform CRUD operations (create...

Api\CustomerGroupConfigInterface

Interface

This interface defines operations for managing system-wide customer group configuration in Magento 2. Developers use this to programmatically set the...

Api\CustomerManagementInterface

Interface

This interface defines a contract for managing customer-related operations in Magento 2. Developers use this interface to retrieve the total count of...

Api\CustomerMetadataInterface

Interface

This interface defines constants and contracts for retrieving metadata about customer entity attributes in Magento 2. Developers use this when they ne...

Api\CustomerMetadataManagementInterface

Interface

This interface defines the contract for managing customer entity metadata in Magento 2. Developers use this to work with customer attribute metadata o...

Api\CustomerNameGenerationInterface

Interface

This interface defines a contract for generating a customer's full name from their customer data object. Developers use this when they need to display...

Api\CustomerRepositoryInterface

Repository

This interface defines the contract for managing customer data in Magento 2. Developers use this repository to create, read, update, and delete custom...

Api\Data\AddressInterface

Interface

This interface defines the data contract for customer addresses in Magento 2. Developers use it to retrieve and manipulate customer address informatio...

Api\Data\AddressSearchResultsInterface

Interface

This interface defines the contract for customer address search results in Magento 2's API layer. Developers use this when implementing or consuming s...

Api\Data\AttributeMetadataInterface

Interface

This interface defines the contract for customer attribute metadata, providing methods to get and set properties like frontend input type, validation...

Api\Data\CustomerInterface

Interface

This interface defines the contract for customer data objects used in Magento 2's API layer. Developers use this when working with customer informatio...

Api\Data\CustomerSearchResultsInterface

Interface

This interface defines the contract for customer search results returned by repository search operations. Developers use this when implementing or con...

Api\Data\GroupExcludedWebsiteInterface

Interface

This interface defines the data structure for managing customer group exclusions at the website level in multi-store Magento installations. Developers...

Api\Data\GroupInterface

Interface

This interface defines the contract for customer group data objects in Magento 2. Developers use it to get and set customer group properties like ID,...

Api\Data\GroupSearchResultsInterface

Interface

This interface defines the contract for search results when querying customer groups in Magento 2. Developers use this interface to handle collections...

Api\Data\OptionInterface

Interface

This interface defines the structure for customer attribute options, such as dropdown or multi-select values. It supports hierarchical options through...

Api\Data\RegionInterface

Interface

This interface defines the contract for customer address region data in Magento 2. Developers use it when working with customer addresses to access or...

Api\Data\ValidationResultsInterface

Interface

This interface defines the structure for validation result objects in Magento 2's customer module. Developers use it to check if customer data is vali...

Api\Data\ValidationRuleInterface

Interface

This interface defines a validation rule data structure used in Magento 2's customer module. Developers use this to define and retrieve validation rul...

Api\GroupExcludedWebsiteRepositoryInterface

Repository

This repository interface manages the relationship between customer groups and websites they are excluded from in Magento 2. Developers use this when...

Api\GroupManagementInterface

Interface

This interface defines methods for managing and retrieving customer groups in Magento 2. Developers use it to access default groups, check if a group...

Api\GroupRepositoryInterface

Repository

This interface defines the contract for managing customer groups in Magento 2, providing CRUD operations (Create, Read, Update, Delete). Developers us...

Api\MetadataInterface

Interface

This interface defines methods for retrieving metadata about customer and customer address attributes in Magento 2. Developers use this to get informa...

Api\MetadataManagementInterface

Interface

This interface defines methods for managing customer attribute metadata in admin grids. Developers use it to determine whether specific customer attri...

Api\SessionCleanerInterface

Interface

This interface defines a contract for clearing customer session data. Developers would implement this interface when they need to destroy all active s...

App\Action\ContextPlugin

Model

This plugin intercepts customer action execution to populate the HTTP context with customer information (group ID and authentication status). Develope...

Attribute

Model

This class represents a customer attribute model in Magento 2, extending the base EAV attribute functionality specifically for customer entities. Deve...

AttributeMetadataConverter

Model

This converter class transforms Magento customer attribute models into API-compatible AttributeMetadata data transfer objects. Developers use this whe...

AttributeMetadataDataProvider

Model

This class provides centralized access to customer and customer address attribute metadata in Magento 2. Developers use it to retrieve attribute model...

AttributeMetadataResolver

Model

This class builds and prepares metadata for customer and customer address attributes used in admin forms and UI components. Developers use this class...

AttributeWebsiteRequired

Model

This class retrieves customer attribute validation requirements across different websites in Magento's multi-website setup. Developers use it to deter...

Attribute\Data\AbstractData

Model

This abstract class serves as a base for customer-specific attribute data models in Magento 2. Developers would extend this class when creating custom...

Attribute\Data\Boolean

Model

This class handles boolean (yes/no, true/false) customer attributes in Magento 2. It extends the core EAV Boolean data model to provide specific handl...

Attribute\Data\Date

Model

This class handles date attribute data operations specifically for customer entities in Magento 2. It extends the core EAV date attribute data model t...

Attribute\Data\File

Model

This class handles file upload attributes for customer entities in Magento 2. Developers would use this when creating or managing custom file-type att...

Attribute\Data\Hidden

Model

This class handles hidden customer attribute data in Magento 2. It extends the base EAV hidden attribute data model to provide customer-specific handl...

Attribute\Data\Image

Model

This class handles customer attribute data specifically for image file uploads. It extends the core EAV image attribute data model to provide image va...

Attribute\Data\Multiline

Model

This class handles data processing for multi-line customer attributes in Magento 2. Developers would use this when working with customer attributes th...

Attribute\Data\Multiselect

Model

This class handles multi-select attribute data for customer entities in Magento 2. Developers would use this when working with customer attributes tha...

Attribute\Data\Postcode

Model

This class handles validation and data processing for customer address postal/zip codes in Magento 2. It validates zip codes based on country requirem...

Attribute\Data\Select

Model

This class handles select-type customer attributes in Magento 2, extending the base EAV select attribute data model. Developers use this when working...

Attribute\Data\Text

Model

This class serves as a specialized data model for handling text-type customer attributes in Magento 2. It extends the base EAV text attribute data mod...

Attribute\Data\Textarea

Model

This class serves as a data model for customer textarea attributes in Magento 2. Developers use it when working with multi-line text customer attribut...

Authentication

Model

This class handles customer authentication security in Magento 2, including password validation, failed login attempt tracking, and account lockout fu...

Authorization\CustomerSessionUserContext

Model

This class provides session-based user context for customer authorization in Magento 2. It retrieves the currently logged-in customer's ID and identif...

Backend\Customer

Model

This backend-specific customer model extends the standard Customer model to handle store ID retrieval in admin panel contexts. It ensures that when a...

Cache\GroupExcludedWebsiteCache

Model

This class provides a runtime cache for storing and retrieving excluded website associations for customer groups. Developers would use this to improve...

Cache\Type\Notification

Model

This class defines a dedicated cache type for customer notifications in Magento 2. Developers use this to cache customer-related notification data, im...

Cart\ConfigPlugin

Model

This plugin extends the shopping cart sidebar configuration by merging in customer-specific checkout configuration data. Developers would use this to...

Checkout\ConfigProvider

Model

This ConfigProvider supplies customer-related configuration data to the checkout process, including login URLs, redirect requirements, and autocomplet...

Config\Share

Model

This class manages customer account sharing configuration between websites in a multi-store Magento setup. Developers use it to determine whether cust...

Config\Source\FilterConditionType

Model

This class provides filter condition type options for customer data filtering in Magento 2. Developers use this class when configuring search or filte...

Config\Source\Group

Model

This class provides a source model for customer group dropdown options in admin configuration forms. It returns an array of customer groups (excluding...

Context

Model

This class defines constants used for HTTP context variables that help with full page caching in Magento 2. Developers use these constants to identify...

Customer

Model

The Customer model represents a customer entity in Magento 2 and provides methods for managing customer data, authentication, addresses, and email not...

CustomerAuthUpdate

Model

This class manages customer authentication failure tracking by updating fields like failed login attempts, first failure timestamp, and account lock e...

CustomerExtractor

Model

This class extracts and transforms customer form data from HTTP requests into CustomerInterface data objects. Developers use it when processing custom...

CustomerGroupConfig

Model

This class manages system configuration operations for customer groups in Magento 2. Developers use it to programmatically set the default customer gr...

CustomerIdProvider

Model

This model provides a simple utility to extract the customer ID from the current HTTP request. Developers use this class when they need to retrieve th...

CustomerManagement

Model

This class provides customer management functionality, specifically retrieving the total count of customers in the Magento store. Developers would use...

CustomerRegistry

Model

This class acts as an in-memory cache/registry for Customer models to avoid repeated database queries. Developers use it to retrieve customer objects...

CustomerSearchResults

Model

This class serves as a container for customer search results returned by repository search operations. Developers use this when implementing or consum...

Customer\Authorization

Model

This class verifies if a logged-in customer is authorized to access resources in the current store. Developers use this when implementing customer-spe...

Customer\AuthorizationComposite

Model

This class implements a composite authorization pattern that checks multiple authorization validators in sequence. It's used to verify if a customer h...

Customer\CredentialsValidator

Model

This class validates customer credentials by ensuring passwords meet security requirements. Developers use this validator when creating or updating cu...

Customer\DataProvider

Model

This data provider class supplies customer and address data to the Magento 2 admin customer edit form UI component. Developers interact with this clas...

Customer\DataProviderWithDefaultAddresses

Model

This class provides customer data for admin forms, specifically handling customer information along with their default billing and shipping addresses....

Customer\Mapper

Model

This class converts CustomerInterface data objects into flat arrays, which is useful when you need to transform customer data into a simple key-value...

Customer\NotificationStorage

Model

This class manages temporary customer notifications using Magento's cache system. Developers use it to store, check, and remove customer-specific noti...

Customer\Source\Group

Model

This source model provides an array of customer groups formatted as options for dropdowns and selects in the Magento admin panel. Developers use this...

Data\Address

Model

This is a data model class that represents a customer address in Magento 2. Developers use this class to programmatically create, read, and manipulate...

Data\AttributeMetadata

Model

This class represents metadata information for customer attributes in Magento 2. Developers use it to retrieve and set properties of customer attribut...

Data\Customer

Model

This is a data model class that represents a customer entity in Magento 2. It provides getter and setter methods for all customer properties like name...

Data\CustomerSecure

Model

This class stores sensitive customer data that should not be exposed through the public Customer API, such as password hashes and password reset token...

Data\Group

Model

This is a data model class representing a customer group in Magento 2. Developers use it to work with customer group data like group ID, code, and ass...

Data\GroupExcludedWebsite

Model

This class represents a data model for managing customer group exclusions from specific websites in a multi-website Magento setup. Developers use this...

Data\Option

Model

This class represents a single option for customer EAV attributes (like dropdown or multiselect custom attributes). Developers use it to define select...

Data\Region

Model

This class is a data model that represents a geographical region/state within a customer's address in Magento 2. Developers use it to store and retrie...

Data\ValidationResults

Model

This class represents validation results for customer data operations in Magento 2. Developers use it to check if customer data (like registration or...

Data\ValidationRule

Model

This class represents a single validation rule for customer attributes, storing a rule name and its corresponding value. Developers use it when workin...

Delegation\AccountDelegation

Model

This class handles the delegation of customer account creation by storing customer data temporarily and creating a redirect to the account creation pa...

Delegation\Data\NewOperation

Model

This is a Data Transfer Object (DTO) that encapsulates the information needed when delegating customer account creation operations to other systems or...

Delegation\Storage

Model

This class manages temporary storage of customer registration data in the session when account creation needs to be delegated or deferred. Developers...

EmailNotification

Model

This class handles all customer-related email notifications in Magento 2, including password resets, email/password changes, new account creation, and...

FileProcessor

Model

This class handles file upload operations for customer and customer address attributes in Magento 2. Developers use it to save uploaded files to tempo...

FileUploader

Model

This class handles file uploads for customer and customer address attributes in Magento 2. Developers use it to validate and process file uploads for...

FileUploaderDataResolver

Model

This class prepares file upload data and metadata for customer and customer address attributes with file or image types. Developers use it to configur...

ForgotPasswordToken\ConfirmCustomerByToken

Model

This class handles customer account confirmation when a customer uses a password reset token. Developers use this class to automatically confirm custo...

ForgotPasswordToken\GetCustomerByToken

Model

This class retrieves a customer account using their password reset token. Developers use it during the forgot password flow to validate the reset toke...

Form

Model

This class manages customer-related forms in Magento 2, extending the base EAV Form model. Developers use it to build and handle customer registration...

Group

Model

This class represents a customer group in Magento 2, which is used to categorize customers for pricing, tax rates, and promotional purposes. Developer...

GroupManagement

Model

This class manages customer groups in Magento 2, providing methods to retrieve and validate groups like default, logged-in, not-logged-in, and all-cus...

GroupRegistry

Model

This class serves as a registry (cache) for Customer Group models in Magento 2. It prevents redundant database queries by storing already-loaded custo...

GroupSearchResults

Model

This class serves as a container for customer group search results returned by repository search operations. Developers use this when implementing or...

Group\Resolver

Model

This class provides a lightweight service to retrieve a customer's group ID based on their customer ID. Developers use this when they need to determin...

Group\Retriever

Model

This class retrieves the current customer's group ID from the active session. Developers use it when they need to access the customer group ID for pri...

Indexer\Address\AttributeProvider

Model

This class provides access to customer address attributes for indexing operations in Magento 2. Developers use this when working with customer address...

Indexer\AttributeProvider

Model

This class provides dynamic EAV attribute fields for the customer grid indexer in Magento 2. Developers use it to automatically include custom custome...

Indexer\Attribute\Filter

Model

This class filters customer attributes based on whether they exist in the customer grid index table. Developers use this to ensure only valid, indexed...

Indexer\CustomerGroupDimensionProvider

Model

This class provides customer group dimensions for Magento's multidimensional indexing system. Developers use it when working with indexers that need t...

Indexer\Processor

Model

This processor class manages the customer grid indexer, which keeps the admin customer grid data synchronized. Developers use this when they need to t...

Indexer\Source

Model

This class serves as a data source provider for the customer_grid indexer in Magento 2. It generates batches of customer data for indexing operations,...

Layout\DepersonalizePlugin

Model

This plugin manages customer data depersonalization for full-page cache scenarios. When a cached page is served, it clears sensitive customer session...

Log

Model

This class serves as a data container (Value Object) for storing customer activity log information, including their login, logout, and last visit time...

Logger

Model

This class manages customer login/logout activity logging in Magento 2. Developers use it to record customer session events (login, logout, visit time...

Metadata\AddressCachedMetadata

Model

This class provides a cached layer for customer address attribute metadata to improve performance by reducing database queries. Developers use this cl...

Metadata\AddressMetadata

Model

This class provides metadata information about customer address attributes in Magento 2. Developers use it to retrieve attribute configurations, valid...

Metadata\AddressMetadataManagement

Model

This class manages metadata capabilities for customer address custom attributes, specifically determining whether address attributes can be used for s...

Metadata\AttributeMetadataCache

Model

This class manages caching of customer attribute metadata to improve performance by avoiding repeated database queries. Developers use it to load, sav...

Metadata\AttributeMetadataHydrator

Model

This hydrator class converts between array data and AttributeMetadataInterface objects for customer attributes. Developers use it when they need to tr...

Metadata\AttributeResolver

Model

This class resolves and retrieves the full attribute model for a given customer or customer address attribute. Developers use it to convert an Attribu...

Metadata\CachedMetadata

Model

This class acts as a caching decorator for customer attribute metadata operations in Magento 2. It wraps another metadata service and caches the resul...

Metadata\CustomerCachedMetadata

Model

This class provides a cached layer for customer attribute metadata operations, improving performance by storing frequently accessed customer metadata...

Metadata\CustomerMetadata

Model

This class provides metadata about customer entity attributes in Magento 2. Developers use it to retrieve information about customer attributes like t...

Metadata\CustomerMetadataManagement

Model

This class manages metadata operations for customer custom attributes, specifically determining if attributes can be used in admin grid searches and f...

Metadata\Form

Model

This class manages customer and address form metadata in Magento 2, handling attribute retrieval, validation, and data processing for customer-facing...

Metadata\Form\AbstractData

Model

AbstractData is a base class for handling customer attribute form data in Magento 2. Developers extend this class when creating custom form element da...

Metadata\Form\Boolean

Model

This class handles boolean form elements for customer attributes in Magento 2, specifically converting true/false values (1/0) into human-readable 'Ye...

Metadata\Form\Date

Model

This class handles validation, extraction, and formatting of date values for customer form fields in Magento 2. Developers use this class when working...

Metadata\Form\File

Model

This class handles file upload, validation, and storage operations for customer attributes in Magento 2. Developers use it when working with customer...

Metadata\Form\Hidden

Model

This class represents a hidden form element in Magento 2's customer metadata form system. It extends the Text class but is specifically used for hidde...

Metadata\Form\Image

Model

This class handles image field validation and processing for customer and customer address forms in Magento 2. It validates uploaded images against ru...

Metadata\Form\Multiline

Model

This class handles multi-line text input for customer attributes in Magento 2. It processes, validates, and formats multi-line customer data (like add...

Metadata\Form\Multiselect

Model

This class handles multiselect form elements for customer attributes in Magento 2. It manages extracting multiple selected values from form requests,...

Metadata\Form\Postcode

Model

This class validates postal/zip code values for customer addresses in Magento 2. It extends the Text form validator and adds specific logic to handle...

Metadata\Form\Select

Model

This class handles form data processing for select/dropdown customer attributes in Magento 2. Developers use it when working with customer attributes...

Metadata\Form\Text

Model

This class handles text input form fields for customer attributes in Magento 2. Developers use it to extract, validate, and process text-based custome...

Metadata\Form\Textarea

Model

This class handles textarea form elements for customer attributes in Magento 2. It extends the Text class and inherits all its validation and processi...

Metadata\Validator

Model

This class validates customer entity attributes (like customer profile fields or address fields) against their defined validation rules in Magento 2....

Model\Address\AddressModelInterface

Interface

This interface defines methods for handling multi-line street addresses in Magento 2. Developers implement this interface when creating address models...

Model\Address\CustomAttributeListInterface

Interface

This interface defines a contract for retrieving custom attributes that have been added to customer addresses. Developers implement this interface whe...

Model\Address\ValidatorInterface

Interface

This interface defines a contract for validating customer address instances in Magento 2. Developers implement this interface to create custom address...

Model\AuthenticationInterface

Interface

This interface defines the contract for customer authentication operations in Magento 2. Developers use this to authenticate customers with passwords,...

Model\Customer\Source\GroupSourceInterface

Interface

This interface defines a contract for classes that provide customer group options as a data source. Developers implement this interface when creating...

Model\EmailNotificationInterface

Interface

This interface defines the contract for sending email notifications to customers in Magento 2. Developers implement this interface to handle customer-...

Model\Group\RetrieverInterface

Interface

This interface defines a contract for retrieving the current customer's group ID from the session. Developers use implementations of this interface wh...

Model\Metadata\ElementFactory

Factory

This factory class creates form element data models for customer attributes based on their type and metadata. Developers use this when rendering custo...

Model\Metadata\FormFactory

Factory

This factory class creates instances of the Customer Metadata Form class, which is used to handle customer and customer address attribute forms in Mag...

Model\ResourceModel\Address\Collection

Collection

This collection class retrieves and manages customer address records from the database. Developers use it to load multiple customer addresses at once,...

Model\ResourceModel\Attribute\Collection

Collection

This collection class retrieves and manages customer entity attributes in Magento 2. Developers use this when they need to load, filter, or manipulate...

Model\ResourceModel\Customer\Collection

Collection

This collection class is used to retrieve and manipulate groups of customer entities from the database. Developers use it to load multiple customer re...

Model\ResourceModel\Grid\Collection

Collection

This collection class provides data for the customer grid in Magento 2's admin panel. Developers use it to display, filter, and search customer record...

Model\ResourceModel\Group\Collection

Collection

This collection class provides methods to retrieve and filter customer groups from the database. Developers use it to load customer group data, filter...

Model\ResourceModel\Visitor\Collection

Collection

This collection class manages groups of Visitor model objects from the database. Developers use it to retrieve, filter, and manipulate multiple visito...

Options

Model

This class provides customer name prefix and suffix options (e.g., Mr., Mrs., Jr., Sr.) for forms based on store configuration. Developers use it when...

Registration

Model

This class checks whether customer registration is allowed in the Magento store. Developers can use this class to determine if new customer account cr...

Renderer\Region

Model

This renderer class handles the display of region/state fields in customer address forms. It intelligently switches between a dropdown (for countries...

ResourceModel\Address

Model

This resource model handles database operations for customer addresses in Magento 2, including saving, loading, deleting, and validating customer addr...

ResourceModel\AddressRepository

Model

This repository class manages CRUD operations for customer addresses in Magento 2. Developers use this class to save, retrieve, search, and delete cus...

ResourceModel\Address\DeleteRelation

Model

This class handles the cleanup of default billing and shipping address references when a customer address is deleted. When an address being deleted is...

ResourceModel\Address\Relation

Model

This class manages the relationship between customer addresses and their default billing/shipping address assignments. When a customer address is save...

ResourceModel\Attribute

Model

This resource model manages database operations for customer attributes in Magento's EAV (Entity-Attribute-Value) system. It specifies which database...

ResourceModel\Customer

Model

This is the resource model for the Customer entity in Magento 2, handling all database operations for customer data. Developers use this class to load...

ResourceModel\CustomerRepository

Model

This is the main repository class for managing customer data in Magento 2. Developers use it to perform CRUD operations on customers - creating new cu...

ResourceModel\Customer\Grid

Model

This deprecated class synchronizes the customer grid by identifying customers who have logged in since the last grid update and triggers a reindex for...

ResourceModel\Customer\Relation

Model

This class manages the relationship between customers and their addresses during save operations. It handles saving, deleting, and updating customer a...

ResourceModel\Form\Attribute

Model

This resource model manages the database operations for customer form attributes, specifically handling the mapping between customer attributes and fo...

ResourceModel\Group

Model

This resource model manages database operations for customer groups in Magento 2. Developers use this class when programmatically creating, updating,...

ResourceModel\GroupExcludedWebsite

Model

This resource model manages the relationship between customer groups and websites they are excluded from in multi-website Magento installations. Devel...

ResourceModel\GroupExcludedWebsiteRepository

Model

This repository class manages the relationship between customer groups and websites that are excluded from those groups. Developers use this class to...

ResourceModel\GroupRepository

Model

This repository class manages CRUD operations for Magento 2 customer groups. Developers use it to programmatically create, read, update, and delete cu...

ResourceModel\Group\GetCustomerGroupCodesByIds

Model

This class retrieves customer group codes by their IDs and returns them as an associative array indexed by group ID. Developers use this when they nee...

ResourceModel\Group\Resolver

Model

This resource model retrieves a customer's group ID directly from the database by customer ID. Developers use this class when they need to quickly res...

ResourceModel\Visitor

Model

This resource model manages database operations for customer visitor tracking in Magento 2. Developers use it to record and manage visitor sessions, i...

Session

Model

This class manages customer session state in Magento 2, handling login/logout operations, storing customer data in the session, and tracking authentic...

Session\CurrentCustomer

Helper

This helper provides a safe way to retrieve the current customer's data, considering caching scenarios. When Full Page Cache is enabled and the page i...

Session\CurrentCustomerAddress

Helper

This helper class provides convenient access to the currently logged-in customer's default billing and shipping addresses. Developers would use this w...

Session\SessionCleaner

Model

This class handles the cleanup of all session data related to a specific customer, including their current active session. Developers use this when th...

Session\Storage

Model

This class manages customer session data storage in Magento 2. It extends the base session storage to handle customer-specific session namespacing, au...

Session\Validators\CutoffValidator

Model

This validator ensures customer sessions remain valid by checking if a session cutoff time has been set (e.g., when password changes or security event...

SetCustomerStore

Model

This class is responsible for setting the current store context for a customer based on their website or store ID. Developers use this when they need...

StoreSwitcher\RedirectDataPostprocessor

Model

This class handles customer session restoration when a logged-in customer switches between different store views in a multi-store Magento setup. It re...

StoreSwitcher\RedirectDataPreprocessor

Model

This class collects customer data during store view switches in Magento 2. When a logged-in customer switches between store views, it validates that t...

Url

Model

This class provides a centralized way to generate all customer-related URLs in Magento 2, including login, registration, account dashboard, logout, pa...

Validator\Address\File

Model

This class validates file uploads in customer address forms to prevent directory traversal attacks and ensure files are saved within allowed directori...

Validator\City

Model

This validator class ensures that customer city names contain only valid characters including Unicode letters, spaces, hyphens, and apostrophes, with...

Validator\Dob

Model

This validator ensures that a customer's date of birth is not set to a future date. Developers use this class when validating customer data during reg...

Validator\Name

Model

This validator class validates customer name fields (firstname, lastname, middlename) to ensure they contain only allowed characters like letters, mar...

Validator\Street

Model

This validator ensures customer street address fields contain only allowed characters (letters, numbers, and common punctuation). Developers use this...

Validator\Telephone

Model

This validator ensures that customer telephone numbers contain only valid characters: digits (0-9), plus signs, hyphens, parentheses, and spaces, with...

Vat

Model

This class handles VAT (Value Added Tax) validation and customer group assignment based on VAT numbers in Magento 2. Developers use this class when im...

View

Helper

This helper class generates formatted customer names for display purposes in the Magento storefront and admin panel. It constructs the full customer n...

Visitor

Model

The Visitor model tracks and manages visitor sessions in Magento 2, recording customer activity and distinguishing between logged-in customers and ano...

Webapi\ParamOverriderCustomerGroupId

Model

This class automatically replaces the placeholder '%customer_group_id%' with the actual customer group ID in Web API requests when the authenticated u...

Webapi\ParamOverriderCustomerStoreId

Model

This class automatically replaces the placeholder '%customer_store_id%' with the actual store ID of the currently authenticated customer in Web API re...

Webapi\ParamOverriderCustomerWebsiteId

Model

This class automatically replaces the placeholder '%customer_website_id%' in Web API requests with the actual website ID of the authenticated customer...