Log in
Model

Alphanum

Magento\Eav\Model\Entity\Increment\Alphanum

What it does

This class generates alphanumeric increment IDs (like order numbers or invoice numbers) using characters 0-9 and A-Z.

It takes a previous ID, increments it like a base-36 number system, and applies formatting with prefix and padding.

Developers use this when they need sequential alphanumeric identifiers that are more compact than pure numeric IDs.

Public Methods

  • getAllowedChars()
  • getNextId()