Model
Sequence
Magento\SalesSequence\Model\Sequence
What it does
This class generates sequential IDs for sales documents like orders, invoices, and credit memos.
Developers use it when they need to create unique, formatted increment IDs that follow a specific pattern with optional prefixes/suffixes and custom starting values and step increments.
Public Methods
- getCurrentValue()
- getNextValue()