Customer Module
AccountConfirmation
This class determines whether email confirmation is required for customer account creation or when a customer changes their email address. Developers...
AccountManagement
This class manages all customer account operations in Magento 2, including account creation, authentication, password management, and email confirmati...
AccountManagementApi
This class provides API-specific customer account creation functionality for external API consumers (like REST/SOAP integrations). It extends the base...
AccountManagement\Authenticate
This class handles customer authentication in Magento 2 by validating email and password credentials. Developers use this when implementing custom log...
Account\Redirect
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
This model represents a customer address entity in Magento 2, handling storage and retrieval of customer billing and shipping addresses. Developers us...
Address
This helper class provides utilities for working with customer addresses in Magento 2, including address formatting, validation, and configuration man...
AddressRegistry
AddressRegistry is a registry pattern implementation that caches and manages customer address model instances during a request lifecycle. Developers u...
AddressSearchResults
This class serves as a container for customer address search results returned by repository search operations. Developers use this when querying custo...
Address\AbstractAddress
AbstractAddress is the base model class for customer addresses in Magento 2, handling address data management including street lines, regions, countri...
Address\AbstractAddress\CountryModelsCache
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
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
This class implements the Composite design pattern to validate customer addresses by aggregating multiple validators. Developers use this when they ne...
Address\Config
This class manages customer address formatting configurations in Magento 2. Developers use it to retrieve and apply different address display formats...
Address\Config\Converter
This converter class transforms XML configuration for customer address formats into a PHP array structure that Magento can use internally. Developers...
Address\Config\Reader
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
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
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
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
This class formats customer address data from AddressInterface objects into a standardized array structure for display or processing. Developers use i...
Address\CustomerAddressDataProvider
This class retrieves and formats address data for a given customer, with optional filtering based on allowed countries and address limits. Developers...
Address\DataProvider
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
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
This class converts Magento Customer Address data objects (AddressInterface) into flat associative arrays. Developers use this when they need to trans...
Address\Validator\Country
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
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
This validator class validates customer address data by checking both required fields (firstname, lastname, street, city) and conditionally required f...
Address\Validator\Postcode
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
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
This interface defines the contract for managing customer account operations in Magento 2. Developers use this to perform operations like creating cus...
Api\AddressMetadataInterface
This interface defines constants for working with customer address attribute metadata in Magento 2. Developers use it to retrieve information about cu...
Api\AddressMetadataManagementInterface
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
This interface defines the contract for managing customer address data in Magento 2. Developers use this repository to perform CRUD operations (create...
Api\CustomerGroupConfigInterface
This interface defines operations for managing system-wide customer group configuration in Magento 2. Developers use this to programmatically set the...
Api\CustomerManagementInterface
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
This interface defines constants and contracts for retrieving metadata about customer entity attributes in Magento 2. Developers use this when they ne...
Api\CustomerMetadataManagementInterface
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
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
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
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
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
This interface defines the contract for customer attribute metadata, providing methods to get and set properties like frontend input type, validation...
Api\Data\CustomerInterface
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
This interface defines the contract for customer search results returned by repository search operations. Developers use this when implementing or con...
Api\Data\GroupExcludedWebsiteInterface
This interface defines the data structure for managing customer group exclusions at the website level in multi-store Magento installations. Developers...
Api\Data\GroupInterface
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
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
This interface defines the structure for customer attribute options, such as dropdown or multi-select values. It supports hierarchical options through...
Api\Data\RegionInterface
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
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
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
This repository interface manages the relationship between customer groups and websites they are excluded from in Magento 2. Developers use this when...
Api\GroupManagementInterface
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
This interface defines the contract for managing customer groups in Magento 2, providing CRUD operations (Create, Read, Update, Delete). Developers us...
Api\MetadataInterface
This interface defines methods for retrieving metadata about customer and customer address attributes in Magento 2. Developers use this to get informa...
Api\MetadataManagementInterface
This interface defines methods for managing customer attribute metadata in admin grids. Developers use it to determine whether specific customer attri...
Api\SessionCleanerInterface
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
This plugin intercepts customer action execution to populate the HTTP context with customer information (group ID and authentication status). Develope...
Attribute
This class represents a customer attribute model in Magento 2, extending the base EAV attribute functionality specifically for customer entities. Deve...
AttributeMetadataConverter
This converter class transforms Magento customer attribute models into API-compatible AttributeMetadata data transfer objects. Developers use this whe...
AttributeMetadataDataProvider
This class provides centralized access to customer and customer address attribute metadata in Magento 2. Developers use it to retrieve attribute model...
AttributeMetadataResolver
This class builds and prepares metadata for customer and customer address attributes used in admin forms and UI components. Developers use this class...
AttributeWebsiteRequired
This class retrieves customer attribute validation requirements across different websites in Magento's multi-website setup. Developers use it to deter...
Attribute\Data\AbstractData
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
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
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
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
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
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
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
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
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
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
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
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
This class handles customer authentication security in Magento 2, including password validation, failed login attempt tracking, and account lockout fu...
Authorization\CustomerSessionUserContext
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
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
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
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
This plugin extends the shopping cart sidebar configuration by merging in customer-specific checkout configuration data. Developers would use this to...
Checkout\ConfigProvider
This ConfigProvider supplies customer-related configuration data to the checkout process, including login URLs, redirect requirements, and autocomplet...
Config\Share
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
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
This class provides a source model for customer group dropdown options in admin configuration forms. It returns an array of customer groups (excluding...
Context
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
The Customer model represents a customer entity in Magento 2 and provides methods for managing customer data, authentication, addresses, and email not...
CustomerAuthUpdate
This class manages customer authentication failure tracking by updating fields like failed login attempts, first failure timestamp, and account lock e...
CustomerExtractor
This class extracts and transforms customer form data from HTTP requests into CustomerInterface data objects. Developers use it when processing custom...
CustomerGroupConfig
This class manages system configuration operations for customer groups in Magento 2. Developers use it to programmatically set the default customer gr...
CustomerIdProvider
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
This class provides customer management functionality, specifically retrieving the total count of customers in the Magento store. Developers would use...
CustomerRegistry
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
This class serves as a container for customer search results returned by repository search operations. Developers use this when implementing or consum...
Customer\Authorization
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
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
This class validates customer credentials by ensuring passwords meet security requirements. Developers use this validator when creating or updating cu...
Customer\DataProvider
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
This class provides customer data for admin forms, specifically handling customer information along with their default billing and shipping addresses....
Customer\Mapper
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
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
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
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
This class represents metadata information for customer attributes in Magento 2. Developers use it to retrieve and set properties of customer attribut...
Data\Customer
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
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
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
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
This class represents a single option for customer EAV attributes (like dropdown or multiselect custom attributes). Developers use it to define select...
Data\Region
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
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
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
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
This is a Data Transfer Object (DTO) that encapsulates the information needed when delegating customer account creation operations to other systems or...
Delegation\Storage
This class manages temporary storage of customer registration data in the session when account creation needs to be delegated or deferred. Developers...
EmailNotification
This class handles all customer-related email notifications in Magento 2, including password resets, email/password changes, new account creation, and...
FileProcessor
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
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
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
This class handles customer account confirmation when a customer uses a password reset token. Developers use this class to automatically confirm custo...
ForgotPasswordToken\GetCustomerByToken
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
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
This class represents a customer group in Magento 2, which is used to categorize customers for pricing, tax rates, and promotional purposes. Developer...
GroupManagement
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
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
This class serves as a container for customer group search results returned by repository search operations. Developers use this when implementing or...
Group\Resolver
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
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
This class provides access to customer address attributes for indexing operations in Magento 2. Developers use this when working with customer address...
Indexer\AttributeProvider
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
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
This class provides customer group dimensions for Magento's multidimensional indexing system. Developers use it when working with indexers that need t...
Indexer\Processor
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
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
This plugin manages customer data depersonalization for full-page cache scenarios. When a cached page is served, it clears sensitive customer session...
Log
This class serves as a data container (Value Object) for storing customer activity log information, including their login, logout, and last visit time...
Logger
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
This class provides a cached layer for customer address attribute metadata to improve performance by reducing database queries. Developers use this cl...
Metadata\AddressMetadata
This class provides metadata information about customer address attributes in Magento 2. Developers use it to retrieve attribute configurations, valid...
Metadata\AddressMetadataManagement
This class manages metadata capabilities for customer address custom attributes, specifically determining whether address attributes can be used for s...
Metadata\AttributeMetadataCache
This class manages caching of customer attribute metadata to improve performance by avoiding repeated database queries. Developers use it to load, sav...
Metadata\AttributeMetadataHydrator
This hydrator class converts between array data and AttributeMetadataInterface objects for customer attributes. Developers use it when they need to tr...
Metadata\AttributeResolver
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
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
This class provides a cached layer for customer attribute metadata operations, improving performance by storing frequently accessed customer metadata...
Metadata\CustomerMetadata
This class provides metadata about customer entity attributes in Magento 2. Developers use it to retrieve information about customer attributes like t...
Metadata\CustomerMetadataManagement
This class manages metadata operations for customer custom attributes, specifically determining if attributes can be used in admin grid searches and f...
Metadata\Form
This class manages customer and address form metadata in Magento 2, handling attribute retrieval, validation, and data processing for customer-facing...
Metadata\Form\AbstractData
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
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
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
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
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
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
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
This class handles multiselect form elements for customer attributes in Magento 2. It manages extracting multiple selected values from form requests,...
Metadata\Form\Postcode
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
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
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
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
This class validates customer entity attributes (like customer profile fields or address fields) against their defined validation rules in Magento 2....
Model\Address\AddressModelInterface
This interface defines methods for handling multi-line street addresses in Magento 2. Developers implement this interface when creating address models...
Model\Address\CustomAttributeListInterface
This interface defines a contract for retrieving custom attributes that have been added to customer addresses. Developers implement this interface whe...
Model\Address\ValidatorInterface
This interface defines a contract for validating customer address instances in Magento 2. Developers implement this interface to create custom address...
Model\AuthenticationInterface
This interface defines the contract for customer authentication operations in Magento 2. Developers use this to authenticate customers with passwords,...
Model\Customer\Source\GroupSourceInterface
This interface defines a contract for classes that provide customer group options as a data source. Developers implement this interface when creating...
Model\EmailNotificationInterface
This interface defines the contract for sending email notifications to customers in Magento 2. Developers implement this interface to handle customer-...
Model\Group\RetrieverInterface
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
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
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
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
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
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
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
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
This collection class manages groups of Visitor model objects from the database. Developers use it to retrieve, filter, and manipulate multiple visito...
Options
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
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
This renderer class handles the display of region/state fields in customer address forms. It intelligently switches between a dropdown (for countries...
ResourceModel\Address
This resource model handles database operations for customer addresses in Magento 2, including saving, loading, deleting, and validating customer addr...
ResourceModel\AddressRepository
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
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
This class manages the relationship between customer addresses and their default billing/shipping address assignments. When a customer address is save...
ResourceModel\Attribute
This resource model manages database operations for customer attributes in Magento's EAV (Entity-Attribute-Value) system. It specifies which database...
ResourceModel\Customer
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
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
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
This class manages the relationship between customers and their addresses during save operations. It handles saving, deleting, and updating customer a...
ResourceModel\Form\Attribute
This resource model manages the database operations for customer form attributes, specifically handling the mapping between customer attributes and fo...
ResourceModel\Group
This resource model manages database operations for customer groups in Magento 2. Developers use this class when programmatically creating, updating,...
ResourceModel\GroupExcludedWebsite
This resource model manages the relationship between customer groups and websites they are excluded from in multi-website Magento installations. Devel...
ResourceModel\GroupExcludedWebsiteRepository
This repository class manages the relationship between customer groups and websites that are excluded from those groups. Developers use this class to...
ResourceModel\GroupRepository
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
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
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
This resource model manages database operations for customer visitor tracking in Magento 2. Developers use it to record and manage visitor sessions, i...
Session
This class manages customer session state in Magento 2, handling login/logout operations, storing customer data in the session, and tracking authentic...
Session\CurrentCustomer
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
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
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
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
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
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
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
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
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
This class validates file uploads in customer address forms to prevent directory traversal attacks and ensure files are saved within allowed directori...
Validator\City
This validator class ensures that customer city names contain only valid characters including Unicode letters, spaces, hyphens, and apostrophes, with...
Validator\Dob
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
This validator class validates customer name fields (firstname, lastname, middlename) to ensure they contain only allowed characters like letters, mar...
Validator\Street
This validator ensures customer street address fields contain only allowed characters (letters, numbers, and common punctuation). Developers use this...
Validator\Telephone
This validator ensures that customer telephone numbers contain only valid characters: digits (0-9), plus signs, hyphens, parentheses, and spaces, with...
Vat
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
This helper class generates formatted customer names for display purposes in the Magento storefront and admin panel. It constructs the full customer n...
Visitor
The Visitor model tracks and manages visitor sessions in Magento 2, recording customer activity and distinguishing between logged-in customers and ano...
Webapi\ParamOverriderCustomerGroupId
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
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
This class automatically replaces the placeholder '%customer_website_id%' in Web API requests with the actual website ID of the authenticated customer...