Log in
Model

Increment

Magento\Sales\Model\Increment

What it does

This class manages the generation and retrieval of increment IDs for sales orders in Magento 2.

Developers would use it to get the current or next order increment ID (order number) for a specific store.

Note that this class is deprecated as of version 101.0.0 and should not be used in new development.

Public Methods

  • getCurrentValue()
  • getNextValue()