Log in
Interface

IncrementInterface

Magento\Eav\Model\Entity\Increment\IncrementInterface

What it does

This interface defines a contract for generating sequential ID values in Magento's EAV system.

Developers implement this interface when creating custom increment models to generate unique identifiers for entities like orders, invoices, or credit memos.

It's typically used when you need to customize how entity IDs are formatted or incremented beyond the default behavior.

Public Methods

  • getNextId()